-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
175 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,5 @@ temp/ | |
*.epub | ||
*.log | ||
dedrm.bat | ||
Release | ||
.vscode | ||
Released | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
// 使用 IntelliSense 了解相关属性。 | ||
// 悬停以查看现有属性的描述。 | ||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
"program": "${workspaceFolder}/src/bin/Debug/netcoreapp2.2/UnpackKindleS.dll", | ||
"args": ["../samples/sample_iruma.azw.res","--just-dump-res"], | ||
"cwd": "${workspaceFolder}/src", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "${command:pickProcess}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/src/UnpackKindleS.csproj" | ||
], | ||
"problemMatcher": "$tsc" | ||
}, | ||
{ | ||
"label": "publish", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/src/UnpackKindleS.csproj" | ||
], | ||
"problemMatcher": "$tsc" | ||
}, | ||
{ | ||
"label": "watch", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"watch", | ||
"run", | ||
"${workspaceFolder}/src/UnpackKindleS.csproj" | ||
], | ||
"problemMatcher": "$tsc" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
cd /d %~dp0 | ||
cd /d %~dp0/src | ||
dotnet run %1 --just-dump-res | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
cd /d %~dp0 | ||
cd /d %~dp0/src | ||
dotnet run %1 -batch | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
cd /d %~dp0 | ||
cd /d %~dp0/src | ||
dotnet run %1 -dedrm -batch | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
cd /d %~dp0 | ||
cd /d %~dp0/src | ||
dotnet run %1 | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cd /d %~dp0/src | ||
dotnet run %1 -dedrm | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
rd /Q /S src\_temp_ | ||
rd /Q /S src\obj | ||
rd /Q /S src\bin | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"C:\Python2\python2.exe" "E:\_Download\DeDRM_tools_6.6.2\DeDRM_Windows_Application\DeDRM_App\DeDRM_lib\DeDRM_App.pyw" %1 | ||
"C:\Python2\python2.exe" "D:\Apps\DeDRM_App\DeDRM_lib\DeDRM_App.pyw" %1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
cd /d %~dp0 | ||
rd /Q /S bin | ||
|
||
cd src | ||
rd /Q /S bin | ||
|
||
dotnet publish -c release -r win-x64 --self-contained | ||
rename bin\release\netcoreapp2.2\win-x64\publish lib | ||
move bin\release\netcoreapp2.2\win-x64\lib bin\lib | ||
copy template_cover.txt bin\lib\template_cover.txt | ||
copy template_ncx.txt bin\lib\template_ncx.txt | ||
copy template_opf.txt bin\lib\template_opf.txt | ||
copy template_opf.txt bin\lib\template_opf.txt | ||
|
||
md ..\bin | ||
move bin\release\netcoreapp2.2\win-x64\publish ..\bin\lib | ||
|
||
md ..\bin\lib\template\ | ||
copy template\template_cover.txt ..\bin\lib\template\template_cover.txt | ||
copy template\template_ncx.txt ..\bin\lib\template\template_ncx.txt | ||
copy template\template_opf.txt ..\bin\lib\template\template_opf.txt | ||
|
||
rd /Q /S bin | ||
rd /Q /S obj | ||
|
||
cd .. | ||
copy dedrm.bat bin\dedrm.bat | ||
copy template_batch\_Tool_Drop_Dump_azwres.txt bin\_Tool_Drop_Dump_azwres.bat | ||
copy template_batch\_Tool_Drop_MyKindleContent.txt bin\_Tool_Drop_MyKindleContent.bat | ||
copy template_batch\_Tool_Drop_MyKindleContent-nodrm.txt bin\_Tool_Drop_MyKindleContent-nodrm.bat | ||
copy template_batch\_Tool_Drop_Single.txt bin\_Tool_Drop_Single.bat | ||
rd /Q /S bin\release | ||
copy template_batch\_Tool_Drop_Single_dedrm.txt bin\_Tool_Drop_Single_dedrm.bat | ||
|
||
pause |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.