mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 07:58:51 +01:00
bug fix
This commit is contained in:
parent
cb0b5eb293
commit
0db19ecd7c
@ -94,7 +94,7 @@ func (self *LoadHousePage) OnLoadCb() {
|
||||
fmt.Println("LoadHouse OnLoadCb")
|
||||
if len(local_dir) > 1 {
|
||||
menu_file := local_dir[1]
|
||||
local_menu_file := fmt.Sprintf("%s/aria2downloads%s",
|
||||
local_menu_file := fmt.Sprintf(aria2dl_folder,
|
||||
home_path,menu_file)
|
||||
|
||||
if UI.FileExists(local_menu_file) {
|
||||
@ -165,7 +165,7 @@ L:
|
||||
|
||||
if len(local_dir) > 1 {
|
||||
menu_file = local_dir[1]
|
||||
local_menu_file = fmt.Sprintf("%s/aria2downloads%s",
|
||||
local_menu_file = fmt.Sprintf(aria2dl_folder,
|
||||
home_path,menu_file)
|
||||
}
|
||||
dl_file := path.Join("/tmp",filename)
|
||||
|
||||
@ -19,7 +19,7 @@ type WareHousePlugin struct {
|
||||
MainPage *WareHouse
|
||||
}
|
||||
|
||||
var aria2dl_folder = "%s/aria2downloads%s"
|
||||
var aria2dl_folder = "%s/aria2download%s"
|
||||
|
||||
func (self *WareHousePlugin) Init(main_screen *UI.MainScreen) {
|
||||
self.MainPage = NewWareHouse()
|
||||
|
||||
@ -119,7 +119,7 @@ func InstallGame(msg rpc.StatusInfo) {
|
||||
}
|
||||
|
||||
menu_file := parts[1]
|
||||
local_menu_file := fmt.Sprintf("%s/aria2downloads%s",home_path,menu_file)
|
||||
local_menu_file := fmt.Sprintf("%s/aria2download%s",home_path,menu_file)
|
||||
local_menu_file_path := filepath.Dir(local_menu_file)
|
||||
|
||||
if fileExists(local_menu_file) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user