mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 18:22:03 -08:00
Fix windows packaging not finding vcredist
This commit is contained in:
parent
a96fed208d
commit
d191db2dc7
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
|
@ -8,7 +8,7 @@ debs := python3 python3-dev python3-pip p7zip-full golang-go msitools wget aria2
|
||||||
rpms := python3 python3-devel p7zip golang msitools wget aria2c
|
rpms := python3 python3-devel p7zip golang msitools wget aria2c
|
||||||
pacman := python python-pip p7zip go msitools wget aria2c
|
pacman := python python-pip p7zip go msitools wget aria2c
|
||||||
|
|
||||||
.PHONY: help fetch setup setup-minimal clean set-target distclean build package build-launcher check-arch revert edits run bootstrap mozbootstrap dir package-linux package-macos package-windows
|
.PHONY: help fetch setup setup-minimal clean set-target distclean build package build-launcher check-arch revert edits run bootstrap mozbootstrap dir package-linux package-macos package-windows vcredist_arch
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Available targets:"
|
@echo "Available targets:"
|
||||||
|
|
@ -131,7 +131,7 @@ package-windows:
|
||||||
python3 scripts/package.py windows \
|
python3 scripts/package.py windows \
|
||||||
--includes \
|
--includes \
|
||||||
settings/chrome.css \
|
settings/chrome.css \
|
||||||
~/.mozbuild/vs/VC/Redist/MSVC/14.38.33135/$(arch)/Microsoft.VC143.CRT/*.dll \
|
~/.mozbuild/vs/VC/Redist/MSVC/14.38.33135/$(vcredist_arch)/Microsoft.VC143.CRT/*.dll \
|
||||||
--version $(version) \
|
--version $(version) \
|
||||||
--release $(release) \
|
--release $(release) \
|
||||||
--arch $(arch) \
|
--arch $(arch) \
|
||||||
|
|
@ -139,3 +139,5 @@ package-windows:
|
||||||
|
|
||||||
run:
|
run:
|
||||||
cd $(cf_source_dir) && rm -rf ~/.camoufox && ./mach run
|
cd $(cf_source_dir) && rm -rf ~/.camoufox && ./mach run
|
||||||
|
|
||||||
|
vcredist_arch := $(shell echo $(arch) | sed 's/x86_64/x64/' | sed 's/i686/x86/')
|
||||||
Loading…
Add table
Reference in a new issue