Ver Fonte

Move to bin-bin and bash as primary application name

Donald Carr há 8 anos atrás
pai
commit
36d2ccd402
3 ficheiros alterados com 11 adições e 2 exclusões
  1. 1 0
      .gitignore
  2. 9 1
      artriculate
  3. 1 1
      src/src.pro

+ 1 - 0
.gitignore

@@ -1,6 +1,7 @@
 # This file is used to ignore files which are generated
 # ----------------------------------------------------------------------------
 
+*.qmlc
 *~
 *.autosave
 *.a

+ 9 - 1
art → artriculate

@@ -5,6 +5,14 @@ script_dir=$(dirname ${executed_file})
 
 force_wayland=true
 
+bin_name=artriculate-bin
+dev_name=${script_dir}/src/${bin_name}
+if [[ -x ${dev_name} ]]; then
+  cmd=${dev_name}
+else
+  cmd=${script_dir}/${bin_name}
+fi
+
 args=""
 env=""
 
@@ -16,4 +24,4 @@ fi
 env="$env __GL_SYNC_TO_VBLANK=1 QML_FORCE_THREADED_RENDERER=1"
 
 export $env
-${script_dir}/src/artriculate $args
+$cmd $args

+ 1 - 1
src/src.pro

@@ -17,7 +17,7 @@ RESOURCES += resources/resources.qrc
 # Additional import path used to resolve QML modules in Qt Creator's code model
 QML_IMPORT_PATH =
 
-TARGET = artriculate
+TARGET = artriculate-bin
 target.path = /usr/bin
 
 desktop.path = /usr/share/applications