Loading .gitignore +2 −1 Original line number Diff line number Diff line Loading @@ -6,3 +6,4 @@ bin/ *.msi *-files.wxs t1* .vscode/ No newline at end of file Makefile +4 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ LIGHT := "$(WIX_DIR)\light.exe" -nologo RSYNC_MINGW_DIR := D:\downloads\apps\rsync-w64 MBACKUP_PUBLISH_DIR := bin\Release\netcoreapp3.0\publish MBACKUPW_PUBLISH_DIR := mbackupw\bin\Release\netcoreapp3.0\publish MSI_DIR := D:\downloads\upload VERSION := $(shell powershell -NoProfile -File GetVersion.ps1) Loading @@ -17,11 +18,14 @@ all: test release dist dist: msi release: test dotnet publish --nologo -c Release --self-contained false dotnet publish --nologo -c Release --self-contained false mbackupw cmd /C 'COPY /Y $(MBACKUPW_PUBLISH_DIR)\*.* $(MBACKUP_PUBLISH_DIR)\' test: dotnet test --nologo mbackup-tests check: test build: dotnet build --nologo dotnet build --nologo mbackupw clean: dotnet clean --nologo cmd /C 'del *.wixobj *.wixpdb *.msi rsync-mingw64-files.wxs' Loading mbackup.fsproj +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ <RuntimeIdentifiers>win10-x64</RuntimeIdentifiers> <RootNamespace>Mbackup</RootNamespace> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <Version>0.4.7.0</Version> <Version>0.5.0.0</Version> </PropertyGroup> <ItemGroup> Loading mbackup.wxs +2 −2 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ Impersonate="no" Execute="deferred" Directory="TARGETDIR" ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC ONLOGON /TN "mbackup-logon" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackup.exe" /DELAY 0015:00" /> ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC ONLOGON /TN "mbackup-logon" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackupw.exe" /DELAY 0015:00" /> <CustomAction Id="RemoveScheduledTaskLogon" Return="check" Impersonate="no" Loading @@ -106,7 +106,7 @@ Impersonate="no" Execute="deferred" Directory="TARGETDIR" ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC DAILY /TN "mbackup-interval" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackup.exe" /ST 09:00 /DU 17:00 /RI 120 /K" /> ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC DAILY /TN "mbackup-interval" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackupw.exe" /ST 09:00 /DU 17:00 /RI 120 /K" /> <CustomAction Id="RemoveScheduledTaskInterval" Return="check" Impersonate="no" Loading mbackupw/Form1.Designer.cs 0 → 100644 +40 −0 Original line number Diff line number Diff line namespace mbackupw { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Text = "mbackupw"; } #endregion } } Loading
.gitignore +2 −1 Original line number Diff line number Diff line Loading @@ -6,3 +6,4 @@ bin/ *.msi *-files.wxs t1* .vscode/ No newline at end of file
Makefile +4 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ LIGHT := "$(WIX_DIR)\light.exe" -nologo RSYNC_MINGW_DIR := D:\downloads\apps\rsync-w64 MBACKUP_PUBLISH_DIR := bin\Release\netcoreapp3.0\publish MBACKUPW_PUBLISH_DIR := mbackupw\bin\Release\netcoreapp3.0\publish MSI_DIR := D:\downloads\upload VERSION := $(shell powershell -NoProfile -File GetVersion.ps1) Loading @@ -17,11 +18,14 @@ all: test release dist dist: msi release: test dotnet publish --nologo -c Release --self-contained false dotnet publish --nologo -c Release --self-contained false mbackupw cmd /C 'COPY /Y $(MBACKUPW_PUBLISH_DIR)\*.* $(MBACKUP_PUBLISH_DIR)\' test: dotnet test --nologo mbackup-tests check: test build: dotnet build --nologo dotnet build --nologo mbackupw clean: dotnet clean --nologo cmd /C 'del *.wixobj *.wixpdb *.msi rsync-mingw64-files.wxs' Loading
mbackup.fsproj +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ <RuntimeIdentifiers>win10-x64</RuntimeIdentifiers> <RootNamespace>Mbackup</RootNamespace> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <Version>0.4.7.0</Version> <Version>0.5.0.0</Version> </PropertyGroup> <ItemGroup> Loading
mbackup.wxs +2 −2 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ Impersonate="no" Execute="deferred" Directory="TARGETDIR" ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC ONLOGON /TN "mbackup-logon" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackup.exe" /DELAY 0015:00" /> ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC ONLOGON /TN "mbackup-logon" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackupw.exe" /DELAY 0015:00" /> <CustomAction Id="RemoveScheduledTaskLogon" Return="check" Impersonate="no" Loading @@ -106,7 +106,7 @@ Impersonate="no" Execute="deferred" Directory="TARGETDIR" ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC DAILY /TN "mbackup-interval" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackup.exe" /ST 09:00 /DU 17:00 /RI 120 /K" /> ExeCommand=""[SystemFolder]SCHTASKS.EXE" /Create /RU BUILTIN\USERS /RP /NP /SC DAILY /TN "mbackup-interval" /TR "[MBACKUP_PROGRAM_FILES]publish\mbackupw.exe" /ST 09:00 /DU 17:00 /RI 120 /K" /> <CustomAction Id="RemoveScheduledTaskInterval" Return="check" Impersonate="no" Loading
mbackupw/Form1.Designer.cs 0 → 100644 +40 −0 Original line number Diff line number Diff line namespace mbackupw { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Text = "mbackupw"; } #endregion } }