File tree 6 files changed +5
-5
lines changed
6 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
obApp = import ./obApp.nix args ;
10
10
pactServerModule = import ./pact-server/service.nix ;
11
11
macAppName = "Pact" ;
12
- macAppIcon = ./mac/pact.icns ; # Use png2icns to produce this, if needed
13
- macPactDocumentIcon = ./mac/pact-document.icns ;
12
+ macAppIcon = ./mac/static/ pact.icns ; # Use png2icns to produce this, if needed
13
+ macPactDocumentIcon = ./mac/static/ pact-document.icns ;
14
14
# ^ This can be created in Preview using the system document icon from
15
15
# /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/
16
16
# and the pact logo
17
- macAppInstallerBackground = ./mac/installer-background.png ;
17
+ macAppInstallerBackground = ./mac/static/ installer-background.png ;
18
18
bundleIdentifier = "io.kadena.pact" ;
19
19
createDmg = pkgs . fetchFromGitHub {
20
20
owner = "andreyvit" ;
@@ -140,7 +140,7 @@ in obApp // rec {
140
140
ln -s "${ obApp . passthru . staticFiles } " "$out/${ macAppName } .app/Contents/Resources/static"
141
141
ln -s "${ macAppIcon } " "$out/${ macAppName } .app/Contents/Resources/pact.icns"
142
142
ln -s "${ macPactDocumentIcon } " "$out/${ macAppName } .app/Contents/Resources/pact-document.icns"
143
- ln -s "${ ./mac/index.html } " "$out/${ macAppName } .app/Contents/Resources/index.html"
143
+ ln -s "${ ./mac/static/ index.html } " "$out/${ macAppName } .app/Contents/Resources/index.html"
144
144
ln -s "${ sass } /sass.css" "$out/${ macAppName } .app/Contents/Resources/sass.css"
145
145
cat ${ plist } > "$out/${ macAppName } .app/Contents/Info.plist"
146
146
'' ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 42
42
entropy = hackGet ./deps/entropy ;
43
43
cardano-crypto = hackGet ./deps/cardano-crypto ;
44
44
desktop = ./desktop ;
45
- mac = ./mac ;
45
+ mac = builtins . filterSource ( path : type : ! ( builtins . elem ( baseNameOf path ) [ "static" ] ) ) ./mac ;
46
46
} ;
47
47
48
48
overrides = let
You can’t perform that action at this time.
0 commit comments