1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/osx/updater
2014-12-16 02:51:14 -08:00
..
.gitignore Merge commit '8934a11dbffce6b0611d97d5748668a5cdb8ba8a' as 'osx/updater' 2014-12-16 02:51:14 -08:00
qtox_sudo.m Merge commit '8934a11dbffce6b0611d97d5748668a5cdb8ba8a' as 'osx/updater' 2014-12-16 02:51:14 -08:00
README.md Merge commit '8934a11dbffce6b0611d97d5748668a5cdb8ba8a' as 'osx/updater' 2014-12-16 02:51:14 -08:00
updater.go Merge commit '8934a11dbffce6b0611d97d5748668a5cdb8ba8a' as 'osx/updater' 2014-12-16 02:51:14 -08:00

The qTox OS X updater is a mix of objective C and Go compiled as static binaries used do effortless updates in the background.

It uses Objective C to access Apples own security framework and call some long dead APIs in order to give the statically linked go updater permissions to install the latest build without prompting the user for every file.

  • Release commits: https://github.com/Tox/qTox_updater
  • Development commits: https://github.mit.edu/sean-2/updater

Compiling:

  • clang qtox_sudo.m -framework corefoundation -framework security -framework cocoa -Os -o qtox_sudo
  • go build updater.go

(Starting with this commit all commits will be signed with this key.)