refact: add environ and remove scaleFactor property

- remove scaleFactor property !
- add environ property to set scaleFactor easily
This commit is contained in:
ck
2024-04-02 11:28:33 +08:00
committed by Comix
parent 02bebd4ef0
commit 144461c379
4 changed files with 30 additions and 95 deletions

View File

@ -76,11 +76,12 @@
/>
</property>
<property name="ScaleFactor" type="d" access="readwrite">
<property name="Environ" type="s" access="readwrite">
<annotation
name="org.freedesktop.DBus.Description"
value="Indicate the scale factor of application's instance.
Note: Set `0` to use global scaleFactor"
value="Indicate the environment of application's instance.
passing some specific environment variables to Launch
this application, eg. 'LANG=en_US;PATH=xxx:yyy;'"
/>
</property>