Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
marckohlbrugge committed Jun 10, 2022
2 parents 758429d + c00fb77 commit 2672da1
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 17 deletions.
Binary file added build/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/background.tiff
Binary file not shown.
Binary file added build/background@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/create_background.src
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tiffutil -cathidpicheck background.png background@2x.png -out background.tiff
10 changes: 6 additions & 4 deletions build/entitlements.mas.loginhelper.plist
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
</dict>
</plist>
22 changes: 12 additions & 10 deletions build/entitlements.mas.plist
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<string>Y9VMFY8SNZ.chat.wip.menubar</string>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>Y9VMFY8SNZ.chat.wip.menubar</string>
</array>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
Binary file modified build/icon.icns
Binary file not shown.
Binary file modified build/icon1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions build/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ElectronTeamID</key>
<string>Y9VMFY8SNZ</string>
<key>com.apple.developer.team-identifier</key>
<string>Y9VMFY8SNZ</string>
<key>com.apple.application-identifier</key>
Expand Down
12 changes: 11 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ publish:
owner: marckohlbrugge
vPrefixedTagName: true

dmg:
background: ./build/background.tiff
icon: ./build/icon.icns
iconSize: 128
contents:
[
{ x: 460, y: 167, type: link, path: /Applications },
{ x: 138, y: 167, type: file },
]

mac:
target:
- target: default
Expand Down Expand Up @@ -49,7 +59,7 @@ mas:
provisioningProfile: embedded.provisionprofile
icon: resource/app.icns
darkModeSupport: true
hardenedRuntime: true
hardenedRuntime: false
extendInfo:
LSUIElement: 1

Expand Down
3 changes: 1 addition & 2 deletions src/compose/vue/Attachments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export default {
const file_copy = {
path: file.path,
name: file_name || file.name,
size: file.size,
obj: file,
size: file.size
};
if (file.path) {
Expand Down

0 comments on commit 2672da1

Please sign in to comment.