forked from wireapp/wire-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '2ee441781b6756c9b0071dc92efddf144c71ef9f' into macos-tray
* commit '2ee441781b6756c9b0071dc92efddf144c71ef9f': (34 commits) publish amplify event when deleting conversation Use libsodium-neon (wireapp#610) Release 2.13.2742 Bump electron to version '1.6.8' (wireapp#618) Preceed offline check when starting the app (wireapp#608) Prevent duplicate tray icon on update (wireapp#599) Release 2.13.2741 Fix debian pre/post-install scripts (wireapp#603) Release 2.13.2740 End app with exit on makeSingleInstance check (WEBAPP-3848) (wireapp#593) Bump electron version to 1.6.7 (wireapp#592) Remove testing URLs (wireapp#589) chore(package): update grunt-contrib-clean to version 1.1.0 (wireapp#570) check for XDG_CURRENT_DESKTOP (wireapp#587) Workaround Ubuntu 17.04 tray bug (wireapp#576) Make "unofficial" build options modular and dynamic (wireapp#568) Update release notes link (wireapp#573) Add repository for Debian/Ubuntu (wireapp#566) Release 2.13.2739 Rename package to wire-desktop (wireapp#550) ... # Conflicts: # package.json
- Loading branch information
Showing
63 changed files
with
670 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
#!/bin/bash | ||
|
||
old_exec="/opt/Wire/wire"; | ||
|
||
# Warn if old package is still installed | ||
if test -e "${old_exec}"; then | ||
echo "WARNING: It seems that there are files from the old Wire package on" | ||
echo "your machine. We highly recommend that you remove the old version" | ||
echo "and then reinstall this package. You can remove the old package with" | ||
echo "the following command:" | ||
echo "sudo apt-get remove wire" | ||
fi | ||
|
||
# Clean up old invalid links | ||
if [ -L '/usr/local/bin/wire' ] || [ -L '/usr/local/bin/<%= executable %>' ]; then | ||
echo "Removing old invalid symlinks" | ||
if [ -L '/usr/local/bin/wire' ] && [ "$(readlink '/usr/local/bin/wire')" = "${old_exec}" ]; then rm -f /usr/local/bin/wire; fi | ||
if [ -L '/usr/local/bin/<%= executable %>' ] && [ "$(readlink '/usr/local/bin/<%= executable %>')" = '/opt/<% productFilename %>/<%= executable %>' ]; then rm -f '/usr/local/bin/<%= executable %>'; fi | ||
fi | ||
|
||
# Link to the binary | ||
ln -sf '/opt/<%= productFilename %>/<%= executable %>' '/usr/local/bin/<%= executable %>' | ||
ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
# Delete the link to the binary | ||
rm -f '/usr/bin/<%= executable %>' | ||
rm -f '/usr/bin/${executable}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Dir { | ||
ArchiveDir "./debian"; | ||
CacheDir "./cache"; | ||
}; | ||
Default { | ||
Packages::Compress ". gzip bzip2"; | ||
Sources::Compress ". gzip bzip2"; | ||
Contents::Compress ". gzip bzip2"; | ||
}; | ||
TreeDefault { | ||
BinCacheDB "packages-$(SECTION)-$(ARCH).db"; | ||
Directory "pool/$(SECTION)"; | ||
Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages"; | ||
SrcDirectory "pool/$(SECTION)"; | ||
Contents "$(DIST)/Contents-$(ARCH)"; | ||
}; | ||
Tree "dists/stable" { | ||
Sections "main"; | ||
Architectures "i386 amd64 all"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
APT::FTPArchive::Release::Architectures "i386 amd64 all"; | ||
APT::FTPArchive::Release::Codename "stable"; | ||
APT::FTPArchive::Release::Components "main"; | ||
APT::FTPArchive::Release::Description "Cross platform desktop app, wrapping the Wire Webapp. Based on Electron."; | ||
APT::FTPArchive::Release::Label "Wire Desktop"; | ||
APT::FTPArchive::Release::Origin "https://github.com/wireapp/wire-desktop"; | ||
APT::FTPArchive::Release::Suite "stable"; |
Oops, something went wrong.