Move version file content within constants.
This commit is contained in:
parent
c9d4c7138b
commit
1b18ea6e4a
1 changed files with 12 additions and 4 deletions
|
@ -1,4 +1,11 @@
|
||||||
module Qasim
|
module Qasim
|
||||||
|
APP_NAME = "Qasim"
|
||||||
|
|
||||||
|
APP_VERSION = "0.1.11"
|
||||||
|
|
||||||
|
APP_DATE = "2014-05-09"
|
||||||
|
|
||||||
|
|
||||||
APP_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent.parent.parent + "data"
|
APP_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent.parent.parent + "data"
|
||||||
|
|
||||||
APP_ICON_PATH = File.join APP_DATA_DIR, "icons"
|
APP_ICON_PATH = File.join APP_DATA_DIR, "icons"
|
||||||
|
@ -10,4 +17,5 @@ module Qasim
|
||||||
else
|
else
|
||||||
File.join ENV['HOME'], '.config', 'qasim'
|
File.join ENV['HOME'], '.config', 'qasim'
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue