Merge pull request #695 from adamharrison/additional-scale-variables
Added in additional environment variables to scale off of.
This commit is contained in:
commit
3e79595e24
|
@ -2,7 +2,7 @@
|
||||||
VERSION = "@PROJECT_VERSION@"
|
VERSION = "@PROJECT_VERSION@"
|
||||||
MOD_VERSION = "2"
|
MOD_VERSION = "2"
|
||||||
|
|
||||||
SCALE = tonumber(os.getenv("LITE_SCALE")) or SCALE
|
SCALE = tonumber(os.getenv("LITE_SCALE") or os.getenv("GDK_SCALE") or os.getenv("QT_SCALE_FACTOR")) or SCALE
|
||||||
PATHSEP = package.config:sub(1, 1)
|
PATHSEP = package.config:sub(1, 1)
|
||||||
|
|
||||||
EXEDIR = EXEFILE:match("^(.+)[/\\][^/\\]+$")
|
EXEDIR = EXEFILE:match("^(.+)[/\\][^/\\]+$")
|
||||||
|
|
Loading…
Reference in New Issue