Skip to content

Commit 4f475bf

Browse files
committed
[0.2.43] Changing Version and Fixing Linux Stuff
1 parent 7a308c0 commit 4f475bf

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Geometria/Game/Scripts/FirstTimeInstaller.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,11 +648,9 @@ struct FirstTimeInstaller
648648
std::cout << "\n";
649649
Files::PauseConsole();
650650

651-
if(Files::WhereIs("apt") != "")
652-
{
651+
if(FirstTimeInstaller::pkgMgr == "APT")
653652
cmd = "sudo apt install" + PkgListToString(APTPackageList());
654-
}
655-
else if(Files::WhereIs("pacman") != "")
653+
else if(FirstTimeInstaller::pkgMgr == "Pacman")
656654
cmd = "sudo pacman -S" + PkgListToString(PacmanPackageList());
657655

658656
system(cmd.c_str());

Geometria/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ int main(int argc, char** argv)
157157
}
158158
else if(commandLine == "--version")
159159
{
160-
std::cout << "0.2.42" << std::endl;
160+
std::cout << "0.2.43" << std::endl;
161161
}
162162
else if(commandLine == "--macro-test")
163163
{

0 commit comments

Comments
 (0)