Skip to content

Commit

Permalink
Update app & RLOG icons
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Aug 5, 2023
1 parent 503658b commit c4eddf1
Show file tree
Hide file tree
Showing 36 changed files with 6 additions and 8 deletions.
Binary file modified icons/app/app-icon-mac.iconset/icon_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/icon_16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/icon_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/icon_32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/icon_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/app-icon.icns
Binary file not shown.
Binary file modified icons/app/app-icon.ico
Binary file not shown.
Binary file modified icons/app/rlog-icon-mac.iconset/icon_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/icon_16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/icon_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/icon_32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/icon_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon-mac.iconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/app/rlog-icon.icns
Binary file not shown.
Binary file modified icons/app/rlog-icon.ico
Binary file not shown.
Binary file removed icons/download/rlog-icon-linux.png
Binary file not shown.
Binary file added icons/download/rlog-icon-linuxwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/download/rlog-icon-mac.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed icons/download/rlog-icon-win.png
Binary file not shown.
File renamed without changes
Binary file removed icons/download/wpilog-icon-win.png
Diff not rendered.
Binary file added icons/window-icon.png
Binary file removed icons/window/window-icon-linux.png
Diff not rendered.
Binary file removed icons/window/window-icon-win.png
Diff not rendered.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"www/**/*",
"bundles/*",
"icons/**/*",
"!icons/**/*.iconset",
"frcData/**/*",
"docs/**/*",
"!**/.*"
Expand Down
6 changes: 2 additions & 4 deletions src/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,9 @@ function handleMainMessage(message: NamedMessage) {
img.src = "../icons/download/" + extension + "-icon-mac.png";
img.classList.add("mac");
break;
case "win32":
img.src = "../icons/download/" + extension + "-icon-win.png";
break;
case "linux":
img.src = "../icons/download/" + extension + "-icon-linux.png";
case "win32":
img.src = "../icons/download/" + extension + "-icon-linuxwin.png";
break;
}
let filenameSpan = document.createElement("span");
Expand Down
7 changes: 3 additions & 4 deletions src/main/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ export const LAST_OPEN_FILE = path.join(app.getPath("temp"), "akit-log-path.txt"
export const VIDEO_CACHE = path.join(app.getPath("temp"), "advantagescope-videos");
export const WINDOW_ICON: string | undefined = (() => {
switch (process.platform) {
case "win32": // Square icon
return path.join(__dirname, "../icons/window/window-icon-win.png");
case "linux": // Rounded icon
return path.join(__dirname, "../icons/window/window-icon-linux.png");
case "linux":
case "win32":
return path.join(__dirname, "../icons/window-icon.png");
default: // macOS uses the app icon by default
return undefined;
}
Expand Down

0 comments on commit c4eddf1

Please sign in to comment.