Skip to content

Commit 4b99842

Browse files
committed
update
1 parent 7e0606a commit 4b99842

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ include $(DEVKITPRO)/libnx/switch_rules
4747

4848
APP_TITLE := UnderProject Updater
4949
APP_AUTHOR := UnderProject Team
50-
APP_VERSION := 1.4
50+
APP_VERSION := 1.5
5151

5252
ICON := Icon.jpg
5353
TARGET := UnderProject-Updater

source/UI.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ void UI::optGetPatch() {
169169
if(!res){
170170
appletBeginBlockingHomeButton(0);
171171
unzFile zip = Utils::zip_open(filename.c_str()); IncrementProgressBar(&prog);
172-
if(cfwpath == "atmosphere"){Utils::zip_extract_all(zip, "/atmosphere/"); IncrementProgressBar(&prog);}
173-
if(cfwpath == "ReiNX"){Utils::zip_extract_all(zip, "/ReiNX/"); IncrementProgressBar(&prog);}
174-
if(cfwpath == "sxos"){Utils::zip_extract_all(zip, "/sxos/"); IncrementProgressBar(&prog);}
172+
if(cfwpath == "atmosphere"){Utils::zip_extract_all(zip, "/atmosphere/contents/"); IncrementProgressBar(&prog);}
173+
if(cfwpath == "ReiNX"){Utils::zip_extract_all(zip, "/ReiNX/contents/"); IncrementProgressBar(&prog);}
174+
if(cfwpath == "sxos"){Utils::zip_extract_all(zip, "/sxos/titles/"); IncrementProgressBar(&prog);}
175175
Utils::zip_close(zip); IncrementProgressBar(&prog);
176176
remove(filename.c_str());
177177
appletEndBlockingHomeButton();
@@ -224,9 +224,9 @@ void UI::optdeltarun() {
224224
if(!rester){
225225
appletBeginBlockingHomeButton(0);
226226
unzFile zip = Utils::zip_open(filename.c_str()); IncrementProgressBar(&prog);
227-
if(cfwpath == "atmosphere"){Utils::zip_extract_all(zip, "/atmosphere/"); IncrementProgressBar(&prog);}
228-
if(cfwpath == "ReiNX"){Utils::zip_extract_all(zip, "/ReiNX/"); IncrementProgressBar(&prog);}
229-
if(cfwpath == "sxos"){Utils::zip_extract_all(zip, "/sxos/"); IncrementProgressBar(&prog);}
227+
if(cfwpath == "atmosphere"){Utils::zip_extract_all(zip, "/atmosphere/contents/"); IncrementProgressBar(&prog);}
228+
if(cfwpath == "ReiNX"){Utils::zip_extract_all(zip, "/ReiNX/contents/"); IncrementProgressBar(&prog);}
229+
if(cfwpath == "sxos"){Utils::zip_extract_all(zip, "/sxos/titles/"); IncrementProgressBar(&prog);}
230230
Utils::zip_close(zip); IncrementProgressBar(&prog);
231231
remove(filename.c_str());
232232
appletEndBlockingHomeButton();

0 commit comments

Comments
 (0)