Commit Graph
21 Commits
Author SHA1 Message Date
Kenneth Hsu c00c6fd19b Make fields containing lock objects readonly.
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock.  By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth Skovhede 7e466e11cf Fixed two cases where commandline arguments were not correctly escaped when being passed to another process.
This should also solve the issues with #3001
This fixes #2961
2018-02-11 19:54:05 +01:00
Kenneth Hsu 3d51e9153b Avoid signing assemblies.
Using strong-named assemblies can cause difficulties with the GNU LGPL
license, which allows for one to recombine or relink their application
with modified versions of the code.  While one solution is to share the
private key so that people can sign the assemblies themselves, this
would break the trust that is expected from signed assemblies.  For now,
the easiest fix is to simply not sign the assemblies.  Note that by
doing so, we prevent the code from being referenced from other signed
assemblies.

This also fixes an issue introduced in revision ba94d36a80 ("Added
auto-update for WindowsService and Service."), where the WindowsService
project (signed) referenced the AutoUpdater project (not signed).

We also removed instances of <SignAssembly>false</SignAssembly> to be
consistent with newly created .csproj files that do not contain the
SignAssembly element.

This was motivated by the discussion in issue #2814.
2017-10-15 22:00:23 -07:00
Kenneth Skovhede 762035c309 Merge branch 'experiment/autoupdate_service' into feature/improve-autoupdater 2017-10-11 12:50:10 +02:00
Kenneth Skovhede 2b2e495e15 Added the <Prefer32Bit>False</Prefer32Bit> option to all executables.
This fixes #2519
2017-06-02 09:42:29 +02:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
Kenneth Skovhede ba94d36a80 Added auto-update for WindowsService and Service.
Needs some work otherwise the service will auto-update with a new sub-folder instead of autoupdate from the source folder.
2016-10-12 22:58:48 +02:00
Max cc6ba08394 added working directory 2016-10-09 23:28:07 +02:00
Kenneth Skovhede afa9924f30 Made the WindowsService self-installable with parameter support.
This fixes #1768
2016-09-15 14:39:19 +02:00
Kenneth Skovhede b77499f8e2 Merge branch 'master' into feature/windows_service
# Conflicts:
#	Duplicati.sln
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
2016-04-13 11:46:49 +02:00
Kenneth Skovhede 020471bb2a Added a windows service 2016-04-13 11:44:21 +02:00
Kenneth Skovhede 785c4d325f Reverted changes to solution file so it again forces Windows linefeeds.
This also moved stuff around in some project files.
2016-04-13 00:36:22 +02:00
Kenneth Skovhede fc29aacff8 Removed the Google API, now running directly on the REST API. 2015-06-27 01:13:30 +02:00
Kenneth Skovhede dc0f5d5fd4 Added missing app.config files 2015-03-06 14:02:31 +01:00
Kenneth Skovhede 0d7cf7203b Updated to .Net framework version 4.5 2015-01-26 11:22:52 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede ce8bf2a618 Moving around Service 2014-09-02 18:03:20 +02:00
Kenneth Skovhede 01f9317c0e Moved Duplicati.Service 2014-08-26 18:58:08 +02:00
Kenneth Skovhede ef3a62bf72 Changed the default for auto-update to be notify instead of install.
Added the --auto-update option to the commandline to allow automatic updates.
Added a new Duplicati.Library.AutoUpdater.exe tool to work with updates, especially handy if the update breaks the install and for manual handling of updates.
2014-08-17 15:45:44 +02:00
Kenneth Skovhede f76a4fb584 Bugfix 2014-07-25 15:07:23 +02:00
Kenneth Skovhede c721a5fa9f Added the service component with basic polling functions 2014-07-25 14:28:36 +02:00