mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 16:42:04 -08:00
Fix developer UI not finding source folder
This commit is contained in:
parent
8aadd3e1f2
commit
2ac5351fd5
2 changed files with 3 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -94,7 +94,7 @@ build:
|
|||
cd $(cf_source_dir) && ./mach build
|
||||
|
||||
edits:
|
||||
python ./scripts/developer.py
|
||||
python ./scripts/developer.py $(version) $(release)
|
||||
|
||||
check-arch:
|
||||
@if ! echo "x86_64 i686 arm64" | grep -qw "$(arch)"; then \
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ GUI for managing Camoufox patches.
|
|||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
import easygui
|
||||
from _mixin import find_src_dir, list_patches, patch, run, temp_cd
|
||||
|
|
@ -16,7 +17,7 @@ def into_camoufox_dir():
|
|||
this_script = os.path.dirname(os.path.abspath(__file__))
|
||||
# Go one directory up from the current script path
|
||||
os.chdir(os.path.dirname(this_script))
|
||||
os.chdir(find_src_dir('.'))
|
||||
os.chdir(find_src_dir('.', version=sys.argv[1], release=sys.argv[2]))
|
||||
|
||||
|
||||
def reset_camoufox():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue