Skip to content

Commit b522786

Browse files
committed
Not longer install the reconnect script as schedule!
1 parent 3c39fde commit b522786

File tree

5 files changed

+3
-11
lines changed

5 files changed

+3
-11
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
description = "Small folder mirror tool for Windows using robocopy under the hood"
33
name = "simple-folder-syncer"
4-
version = "0.1.1"
4+
version = "0.1.2"
55
authors = ["Günther Grill <[email protected]>"]
66
license = "MIT"
77
repository = "https://github.com/guenhter/robocopy-folder-mirror"

install-schedule.bat

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
@echo off
22

33
set "BatchFilePath='%programfiles%\Simple Folder Syncer\simple-folder-syncer.exe'"
4-
set "ReconnectDrivePath='%programfiles%\Simple Folder Syncer\reconnect-netdrive.bat'"
5-
64
set "TaskName=Simple Folder Syncer"
7-
set "TaskDescription=Run my batch file daily"
85

96
@REM https://learn.microsoft.com/de-de/windows/win32/taskschd/schtasks
107
schtasks /create /f /tn "%TaskName%" /tr "%BatchFilePath%" /sc hourly /mo 1
11-
12-
@REM This is only a workaround until the actual SSHFS drive reconnecting is implemented.
13-
schtasks /create /f /tn "Reconnect SSHFS drive" /tr "%ReconnectDrivePath%" /sc minute /mo 30

package.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2-
<Package Name="Simple Folder Syncer" Manufacturer="Grill Günther" UpgradeCode="9e914e0d-014b-4a92-a147-755ad34dfc26" Version="0.1.1">
2+
<Package Name="Simple Folder Syncer" Manufacturer="Grill Günther" UpgradeCode="9e914e0d-014b-4a92-a147-755ad34dfc26" Version="0.1.2">
33
<Icon Id="icon.ico" SourceFile="resources\icon.ico"/>
44
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
55
<Property Id="ARPNOMODIFY" Value="no" Secure="yes" />

uninstall-schedule.bat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
set "TaskName=Simple Folder Syncer"
44

55
schtasks /delete /tn "%TaskName%" /f
6-
7-
schtasks /delete /tn "Reconnect SSHFS drive" /f

0 commit comments

Comments
 (0)