Skip to content

Commit 925eb68

Browse files
author
Ravbug
committed
Bug fixes in Installs pane
~ fix Reveal in Explorer ~ fix Uninstall
1 parent fb8873d commit 925eb68

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

source/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<key>CFBundlePackageType</key>
2929
<string>APPL</string>
3030
<key>CFBundleShortVersionString</key>
31-
<string>1.56</string>
31+
<string>1.57</string>
3232
<key>CFBundleSignature</key>
3333
<string>UNHn</string>
3434
<key>CFBundleVersion</key>

source/globals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
static constexpr std::string_view projectsFile = "projects.txt";
1515
static constexpr std::string_view editorPathsFile = "editorPaths.txt";
1616
static constexpr std::string_view templatePrefix = "com.unity.template";
17-
static constexpr std::string_view AppVersion = "v1.56";
17+
static constexpr std::string_view AppVersion = "v1.57";
1818

1919
struct wxListCtrl;
2020
struct wxWindow;

source/interface_derived.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ void MainFrameDerived::OnUninstall(wxCommandEvent &){
666666
reveal_in_explorer(editor.path);
667667
#elif defined _WIN32
668668
// execute the uninstaller
669-
auto uninstaller_path = std::filesystem::path(editor.path) / editor.name / "Editor\\Uninstall.exe";
669+
auto uninstaller_path = std::filesystem::path(editor.path) / "Editor\\Uninstall.exe";
670670
ShellExecute(0, 0, uninstaller_path.c_str(), NULL, 0, SW_SHOW);
671671
#endif
672672
}

source/interface_derived.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class MainFrameDerived : public MainFrame{
148148
int id = installsList->GetSelection();
149149
if (id != wxNOT_FOUND){
150150
editor& e = editors[id];
151-
std::filesystem::path path = e.path / e.name;
151+
std::filesystem::path path = e.path;
152152
if (!std::filesystem::exists(path)){
153153
reveal_in_explorer(e.path);
154154
}

0 commit comments

Comments
 (0)