diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 722a42c..2a4db88 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -19,7 +19,7 @@ "label": "▶️ Run OpenSuperClone", "type": "shell", "linux": { - "command": "sudo ./release/bin/opensuperclone", + "command": "sudo ./Release/bin/opensuperclone", }, "presentation": { "clear": true @@ -30,7 +30,7 @@ "label": "▶️ Run OSCViewer", "type": "shell", "linux": { - "command": "./release/bin/oscviewer", + "command": "./Release/bin/oscviewer", }, "presentation": { "clear": true @@ -74,7 +74,7 @@ "label": "❌ Uninstall", "type": "shell", "linux": { - "command": "./install.sh", + "command": "./uninstall.sh", }, "presentation": { "clear": true diff --git a/README.md b/README.md index 8e8011d..61c4a75 100644 --- a/README.md +++ b/README.md @@ -63,14 +63,14 @@ Pre-built binaries aswell as Debian packages for OpenSuperClone can be found on - `libgtk-3-dev` (or `libgtk2.0-dev` if building for GTK2) ```Bash -# Build OpenSuperClone and OSCViewer for Release and install to ./release +# Build OpenSuperClone and OSCViewer for Release and install to ./Release $ ./build.sh # Run OpenSuperClone -$ sudo ./release/bin/opensuperclone +$ sudo ./Release/bin/opensuperclone # Run OSCViewer -$ ./release/bin/oscviewer +$ ./Release/bin/oscviewer ``` ## ✏️ Changelog diff --git a/clean.sh b/clean.sh index f142521..575185d 100755 --- a/clean.sh +++ b/clean.sh @@ -1,4 +1,4 @@ rm -r build > /dev/null 2>&1 -rm -r debug > /dev/null 2>&1 -rm -r Release > /dev/null 2>&1 +rm -r Debug > /dev/null 2>&1 +rm -r release > /dev/null 2>&1 rm -r package > /dev/null 2>&1 \ No newline at end of file diff --git a/src/oscviewer/oscviewer3.c b/src/oscviewer/oscviewer3.c index 5bdbfde..9220a97 100644 --- a/src/oscviewer/oscviewer3.c +++ b/src/oscviewer/oscviewer3.c @@ -577,6 +577,9 @@ int main(int argc, char **argv) // g_signal_connect(main_window, "draw", G_CALLBACK(main_drawing_expose_event), NULL); g_signal_connect(G_OBJECT(main_drawing_area), "button-press-event", G_CALLBACK(on_button_press), NULL); + gtk_widget_set_double_buffered(main_drawing_area, FALSE); + gtk_widget_set_double_buffered(top_drawing_area, FALSE); + g_object_unref(builder); gtk_widget_show_all(main_window); diff --git a/uninstall.sh b/uninstall.sh index a8efdb6..7c61c79 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -2,4 +2,7 @@ sudo rm -f /usr/local/bin/opensuperclone sudo rm -f /usr/local/bin/oscviewer sudo rm -f -r /usr/local/bin/oscscripts sudo rm -f -r /usr/local/share/doc/opensuperclone -sudo rm -f -r /usr/local/share/doc/oscviewer \ No newline at end of file +sudo rm -f -r /usr/local/share/doc/oscviewer +sudo rm -f /usr/local/share/applications/opensuperclone.desktop +sudo rm -f /usr/local/share/applications/opensupertool.desktop +sudo rm -f /usr/local/share/applications/oscviewer.desktop \ No newline at end of file