cuu 2 éve
szülő
commit
0db19ecd7c

+ 2 - 2
Menu/GameShell/21_Warehouse/load_house_page.go

@@ -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)

+ 1 - 1
Menu/GameShell/21_Warehouse/plugin_init.go

@@ -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()

+ 1 - 1
appinstaller/app_notifier.go

@@ -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) {