You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Indrek V edited this page Jan 15, 2016
·
5 revisions
Introduction
The apps on all platforms are created so that when building they all build the app to connect to our testing environment. This is a short guide on how to compile Toggl Desktop from source to be used with the live servers.
OS X
On OS X you have to change the KopsikEnvironment variable in the src/ui/osx/TogglDesktop/test2/TogglDesktop-Info.plist file. Replace development with production before building the app and you are good to go.
Windows
On Windows you have to change the Environment setting variable in the src/ui/windows/TogglDesktop/TogglDesktop/App.config file. Replace development with production before building the app and you are good to go.
If you are using cygwin this action can be complete with this one line sed command:
sed -i.bak "s/development/production/g" src/ui/windows/TogglDesktop/TogglDesktop/App.config
Linux
On linux you have to change the environment variable in the TogglDesktop.pro file. Replace development with production before building the app and you are good to go.
This can also be done with one line sed command:
sed -i.bak "s/development/production/g" src/ui/linux/TogglDesktop/TogglDesktop.pro