blob: 214c83d99545958a7234472d2fa71b28e64dde64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/src/welcome.js b/src/welcome.js
index 27cc7dc..c6772c3 100644
--- a/src/welcome.js
+++ b/src/welcome.js
@@ -55,24 +55,7 @@ export default function Welcome({ application }) {
}
function getCommand() {
- const FLATPAK_ID = GLib.getenv("FLATPAK_ID");
-
- if (FLATPAK_ID) {
- return `flatpak run ${FLATPAK_ID}`;
- }
-
- const { programInvocationName } = system;
- // re.sonny.Commit
- if (programInvocationName === GLib.path_get_basename(programInvocationName)) {
- return programInvocationName;
- }
-
- // ./re.sonny.commit
- // /home/sonny/re.sonny.Commit
- return GLib.canonicalize_filename(
- programInvocationName,
- GLib.get_current_dir(),
- );
+ return "re.sonny.Commit";
}
function getRange(key) {
|