Skip to content

Commit

Permalink
refactor: remove the volume setting from .ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
jsntn committed Jul 24, 2023
1 parent caef850 commit da0210a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion MAIN/mount.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FOR %%A IN ("%~dp0.") DO SET parentDir=%%~dpA

SET mode=%1
SET config=%2.ini
SET volume=%2

SET letters=A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Expand All @@ -18,7 +19,6 @@ IF "%mode%"=="write" (
for /f "tokens=1,2 delims==" %%a in (%parentDir%data\%config%) do (
if %%a==program set program=%%b
if %%a==drive set drive=%%b
if %%a==volume set volume=%%b
if %%a==password set password=%%b
)

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ A launcher created by Windows Batch Scripting that can be used to mount your Ver
1) Will use the built-in TrueCrypt program if 'truecrypt' is inputted
2) Will use the built-in VeraCrypt program if omitted
drive=T # The Drive for the VeraCrypt Volume. Assign the Drive Letter automatically if omitted
volume=xxx.NTFS.VC # The VeraCrypt Volume name
password=test # The password for the VeraCrypt Volume. Input the password manually if omitted
```
Expand Down
1 change: 0 additions & 1 deletion data/xxx.NTFS.VC.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
program=
drive=
volume=xxx.NTFS.VC
password=test

0 comments on commit da0210a

Please sign in to comment.