pyright changes, start.sh changes, misc.
This commit is contained in:
parent
9d3a5b9f3b
commit
35456f2bca
|
@ -8,7 +8,7 @@ Additionally, if not building a .deb then just move the contents of user_config
|
||||||
Copy the share/solarfm folder to your user .config/ directory too.
|
Copy the share/solarfm folder to your user .config/ directory too.
|
||||||
|
|
||||||
`pyrightconfig.json`
|
`pyrightconfig.json`
|
||||||
<p>The pyrightconfig file needs to stay on same level as the .git folders in order to have settings detected when using pyright with lsp functionality.</p>
|
<p>The pyrightconfig file needs to stay on same level as the .git folders in order to have settings detected when using pyright with lsp functionality. "pyrightconfig.json" can prompt IDEs such as Zed on settings to use and where imports are located- look at venvPath and venv. "venvPath" is parent path of "venv" where "venv" is just the name of the folder under the parent path that is the python created venv.
|
||||||
|
|
||||||
<h6>Install Setup</h6>
|
<h6>Install Setup</h6>
|
||||||
```
|
```
|
||||||
|
|
|
@ -7,5 +7,7 @@
|
||||||
{
|
{
|
||||||
"root": "./src/versions/solarfm-0.0.1/solarfm"
|
"root": "./src/versions/solarfm-0.0.1/solarfm"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"venvPath": ".",
|
||||||
|
"venv": ".venv"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# Python imports
|
# Python imports
|
||||||
import time
|
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
# Lib imports
|
# Lib imports
|
||||||
|
|
|
@ -20,9 +20,9 @@ function main() {
|
||||||
files[$size]="${target}"
|
files[$size]="${target}"
|
||||||
done
|
done
|
||||||
|
|
||||||
G_SLICE=always-malloc
|
export G_SLICE=always-malloc
|
||||||
G_DEBUG=gc-friendly
|
export G_DEBUG=gc-friendly
|
||||||
GOBJECT_DEBUG=instance-count
|
export GOBJECT_DEBUG=instance-count
|
||||||
python /opt/solarfm.zip "${files[@]}"
|
python /opt/solarfm.zip "${files[@]}"
|
||||||
}
|
}
|
||||||
main "$@";
|
main "$@";
|
||||||
|
|
Loading…
Reference in New Issue