mirror of
https://github.com/aclist/dztui.git
synced 2026-08-30 03:37:00 +02:00
Compare commits
3 Commits
4f722c4655
...
80c58be3be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80c58be3be | ||
|
|
821f983f57 | ||
|
|
c5edeb163d |
@ -48,6 +48,7 @@
|
|||||||
- Packaging structure
|
- Packaging structure
|
||||||
- Suppress log messages from imported modules
|
- Suppress log messages from imported modules
|
||||||
- Embed Workshop link in Options menu
|
- Embed Workshop link in Options menu
|
||||||
|
- Disable overlay scrollbars on server tables
|
||||||
|
|
||||||
## Dropped
|
## Dropped
|
||||||
- Debug mode
|
- Debug mode
|
||||||
|
|||||||
@ -48,6 +48,7 @@
|
|||||||
- Packaging structure
|
- Packaging structure
|
||||||
- Suppress log messages from imported modules
|
- Suppress log messages from imported modules
|
||||||
- Embed Workshop link in Options menu
|
- Embed Workshop link in Options menu
|
||||||
|
- Disable overlay scrollbars on server tables
|
||||||
|
|
||||||
## Dropped
|
## Dropped
|
||||||
- Debug mode
|
- Debug mode
|
||||||
|
|||||||
@ -21,7 +21,7 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
class ScrollableTree(Gtk.ScrolledWindow):
|
class ScrollableTree(Gtk.ScrolledWindow):
|
||||||
def __init__(self, tree: "ServerTreeView") -> None:
|
def __init__(self, tree: "ServerTreeView") -> None:
|
||||||
super().__init__()
|
super().__init__(overlay_scrolling=False)
|
||||||
|
|
||||||
self.tree = tree
|
self.tree = tree
|
||||||
self.add(tree)
|
self.add(tree)
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import build
|
import build
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import tarfile
|
||||||
|
|
||||||
from importlib import metadata
|
from importlib import metadata
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
@ -35,6 +36,10 @@ env["PYAPP_PYTHON_VERSION"] = "3.13"
|
|||||||
proc = subprocess.run(["cargo", "build", "--release"], env=env, cwd=pyapp_dir)
|
proc = subprocess.run(["cargo", "build", "--release"], env=env, cwd=pyapp_dir)
|
||||||
if proc.returncode == 0:
|
if proc.returncode == 0:
|
||||||
output_exe = root.joinpath("pyapp-latest/target/release/pyapp")
|
output_exe = root.joinpath("pyapp-latest/target/release/pyapp")
|
||||||
release_exe = output.joinpath("dzgui")
|
release_exe = output.joinpath(APP_NAME_LOWER)
|
||||||
output_exe.rename(release_exe)
|
output_exe.rename(release_exe)
|
||||||
print(f"Wrote output to '{release_exe}'")
|
tarname = APP_NAME_LOWER + ".tar.gz"
|
||||||
|
tarpath = output.joinpath(tarname)
|
||||||
|
with tarfile.open(tarpath, "w:gz") as tar:
|
||||||
|
tar.add(release_exe)
|
||||||
|
print(f"Wrote tarfile to '{tarpath}'")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user