File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,9 @@ function autoplugin()
310310 update_translations (plugins , tb_cop )
311311
312312 for k = # tb_cop ,1 ,- 1 do
313+ if tb_cop [k ].path == " adrenaline_kernel.skprx" and not files .exists (" ux0:app/PSPEMUCFW" ) then
314+ table.remove (tb_cop ,k )
315+ end
313316 if tb_cop [k ].REMOVE then
314317 table.remove (tb_cop ,k )
315318 end
@@ -510,10 +513,16 @@ function autoplugin()
510513 img = image .load (screenshots .. tb_cop [scr .sel ].id )
511514 end
512515 end
516+ if img then img :setfilter (__IMG_FILTER_LINEAR , __IMG_FILTER_LINEAR ) end
513517 end
514518
515519 if tb_cop [scr .sel ].link and not tb_cop [scr .sel ].status then
516- tb_cop [scr .sel ].readme = http .get (tb_cop [scr .sel ].link )
520+ http .download (tb_cop [scr .sel ].link ," ux0:data/AUTOPLUGIN2/tmp.txt" )
521+ if files .exists (" ux0:data/AUTOPLUGIN2/readmes/tmp.txt" ) then
522+ tb_cop [scr .sel ].readme = files .read (" ux0:data/AUTOPLUGIN2/tmp.txt" )
523+ end
524+ files .delete (" ux0:data/AUTOPLUGIN2/tmp.txt" )
525+ -- tb_cop[scr.sel].readme = http.get(tb_cop[scr.sel].link)
517526 if not tb_cop [scr .sel ].readme then tb_cop [scr .sel ].status = false else tb_cop [scr .sel ].status = true end
518527 -- os.message("get readme")
519528 end
@@ -522,7 +531,6 @@ function autoplugin()
522531
523532 if img then
524533 if vbuff then vbuff :blit (0 ,0 ) elseif back2 then back2 :blit (0 ,0 ) end
525- img :setfilter (__IMG_FILTER_LINEAR , __IMG_FILTER_LINEAR )
526534 img :scale (85 )
527535 img :center ()
528536 img :blit (480 ,272 )
You can’t perform that action at this time.
0 commit comments