Skip to content

Commit 5c76828

Browse files
committed
Nettoyage, tests nvm/node, corrections scripts
1 parent 07a44e4 commit 5c76828

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

AM-GUI.desktop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Desktop Entry]
22
Type=Application
33
Name=AM-GUI
4-
Exec=/home/moi/AM-GUI/start-am-gui.sh
5-
Icon=/home/moi/AM-GUI/app-icon.png
4+
Exec=start-am-gui.sh
5+
Icon=AM-GUI.png
66
StartupWMClass=AM-GUI
77
Terminal=false
88
Categories=Utility;
File renamed without changes.

bin/start-am-gui.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
export TERM=xterm-256color
3+
export COLORTERM=truecolor
4+
APPDIR="$(cd "$(dirname "$0")/.." && pwd)"
5+
"$APPDIR/node_modules/electron/dist/electron" "$APPDIR/main.js"

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="dropdown-menu-categories" id="categoriesDropdownMenu" role="menu" aria-labelledby="categoriesDropdownBtn" hidden></div>
2020
<header class="app-header" data-tauri-drag-region>
2121
<div class="brand">
22-
<img class="brand-icon" src="app-icon.png" alt="AM-GUI Icon" aria-hidden="true">
22+
<img class="brand-icon" src="AM-GUI.png" alt="AM-GUI Icon" aria-hidden="true">
2323
<div class="brand-title" data-i18n="main.title">AM-GUI</div>
2424
</div>
2525
<div class="header-center" role="search" aria-label="Recherche">

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function createWindow () {
303303
const deTag = detectDesktopEnv();
304304
const sysLocale = (app.getLocale && typeof app.getLocale === 'function') ? app.getLocale() : (process.env.LANG || 'en');
305305
// Icône PNG
306-
const iconPath = path.join(__dirname, 'app-icon.png');
306+
const iconPath = path.join(__dirname, 'AM-GUI.png');
307307
const win = new BrowserWindow({
308308
width: 1100,
309309
height: 750,

start-am-gui.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)