mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 04:52:03 -08:00
remove conditional logic for other OSs
This commit is contained in:
parent
ead21eb93e
commit
9ba29bd17a
1 changed files with 7 additions and 11 deletions
|
|
@ -41,9 +41,6 @@ def add_includes_to_package(package_file, includes, fonts, new_file, target):
|
||||||
os.rmdir(omegafox_dir)
|
os.rmdir(omegafox_dir)
|
||||||
|
|
||||||
# Create target_dir
|
# Create target_dir
|
||||||
if target == 'macos':
|
|
||||||
target_dir = os.path.join(temp_dir, 'Omegafox.app', 'Contents', 'Resources')
|
|
||||||
else:
|
|
||||||
target_dir = temp_dir
|
target_dir = temp_dir
|
||||||
|
|
||||||
# Add includes
|
# Add includes
|
||||||
|
|
@ -60,7 +57,6 @@ def add_includes_to_package(package_file, includes, fonts, new_file, target):
|
||||||
|
|
||||||
# Add the font folders under fonts/
|
# Add the font folders under fonts/
|
||||||
fonts_dir = os.path.join(target_dir, 'fonts')
|
fonts_dir = os.path.join(target_dir, 'fonts')
|
||||||
if target == 'linux':
|
|
||||||
for font in fonts or []:
|
for font in fonts or []:
|
||||||
shutil.copytree(
|
shutil.copytree(
|
||||||
os.path.join('bundle', 'fonts', font),
|
os.path.join('bundle', 'fonts', font),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue