Skip to content

Commit b6d484b

Browse files
committed
Merge branch 'release/2.33.33.3331'
2 parents 806e89e + 2696a44 commit b6d484b

20 files changed

+478
-88
lines changed

.github/workflows/dotnet-ci.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# For more information on GitHub Actions, refer to https://github.com/features/actions
2+
# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
3+
# refer to https://github.com/microsoft/github-actions-for-desktop-apps
4+
5+
name: .NET Desktop
6+
7+
on:
8+
push:
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
strategy:
14+
matrix:
15+
configuration: [Release]
16+
targetplatform: [x64]
17+
18+
runs-on: windows-2022 # For a list of available runner types, refer to
19+
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
20+
21+
env:
22+
Solution_Name: Time_Shift.sln # Replace with your solution name, i.e. MyWpfApp.sln.
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v3
27+
with:
28+
submodules: true
29+
30+
# Install the .NET workload
31+
- name: Install .NET
32+
uses: actions/setup-dotnet@v3
33+
with:
34+
dotnet-version: 5.0.x
35+
36+
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
37+
- name: Setup MSBuild.exe
38+
uses: microsoft/setup-msbuild@v1
39+
40+
- uses: nuget/setup-nuget@v1
41+
with:
42+
nuget-version: '5.x'
43+
44+
- name: Restore Nuget packages
45+
run: nuget restore $env:Solution_Name
46+
47+
# Restore the application to populate the obj folder with RuntimeIdentifiers
48+
- name: Restore the application
49+
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
50+
env:
51+
Configuration: ${{ matrix.configuration }}
52+
53+
# Build the Application project
54+
- name: Build the Application Project
55+
run: msbuild $env:Solution_Name /p:Platform=$env:TargetPlatform /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:BuildMode /p:AppxBundle=$env:AppxBundle
56+
env:
57+
AppxBundle: Never
58+
BuildMode: SideloadOnly
59+
Configuration: ${{ matrix.configuration }}
60+
TargetPlatform: ${{ matrix.targetplatform }}
61+
62+
# Upload the package: https://github.com/actions/upload-artifact
63+
- name: Upload build artifacts
64+
uses: actions/upload-artifact@v3
65+
with:
66+
name: Package-${{ matrix.configuration }}
67+
path: |
68+
Time_Shift\bin\${{ matrix.targetplatform }}\${{ matrix.configuration }}\
69+
!Time_Shift\bin\${{ matrix.targetplatform }}\${{ matrix.configuration }}\*.xml
70+
!Time_Shift\bin\${{ matrix.targetplatform }}\${{ matrix.configuration }}\*.pdb

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
[Dd]ebugPublic/
1616
[Rr]elease/
1717
[Rr]eleases/
18-
x64/
19-
x86/
2018
build/
2119
bld/
2220
[Bb]in/

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

ChangeLog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,3 +371,13 @@
371371
- 增加安装包构建脚本
372372
- 修正`Any CPU`编译条件,mp4文件在64位系统下无法正确加载的问题
373373
- 修正四舍五入后为1000毫秒时时间未能进位的问题
374+
375+
## [2.33.33.333]
376+
- 修正json导出序列化问题
377+
- 更新依赖版本
378+
379+
## [2.33.33.3331]
380+
- 移除注册表的使用
381+
- 更新依赖版本
382+
- 增加对playitem无marks的mpls文件的处理
383+
- 增加github action

README.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
# ChapterTool [![Build status](https://ci.appveyor.com/api/projects/status/rtc76h5ulveafj5f?svg=true)](https://ci.appveyor.com/project/tautcony/chaptertool)
2-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftautcony%2FChapterTool.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftautcony%2FChapterTool?ref=badge_shield)
1+
<div align="center">
32

4-
- ChapterTool is made for extracting chapter from various types of files and edit it.
3+
# ChapterTool </br> ![License: GPL v3](https://img.shields.io/github/license/tautcony/chaptertool.svg) [![Build status](https://ci.appveyor.com/api/projects/status/rtc76h5ulveafj5f?svg=true)](https://ci.appveyor.com/project/tautcony/chaptertool) ![](https://img.shields.io/github/downloads/tautcony/chaptertool/total.svg)
4+
5+
A simple tool for extracting chapters from various types of files and editing them.
6+
</div>
57

68
## Feature
79

8-
- Extract chapter file from various types of file
9-
- Freely time adjustment(expression in Infix notation or Reverse Polish notation)
10-
- Move all chapter number backward optionally(for OGM format)
11-
- Load chapter name from a text file as template
10+
- Extract chapter file from different file types
11+
- Multiple time adjustments (expression in Infix notation or Reverse Polish notation)
12+
- Move all chapter numbers backwards optionally (for OGM format)
13+
- Load chapter name from text file as template
1214
- Calculate frames from chapter time
13-
- Supported save formats: `.txt`, `.xml`, `.qpf`, `.json`
15+
- Supported saving formats: `.txt`, `.xml`, `.qpf`, `.json`.
1416

1517
### Supported file type
1618

@@ -27,7 +29,7 @@
2729
## Thanks to
2830

2931
- [Chapters file time Editor](https://www.nmm-hd.org/newbbs/viewtopic.php?f=16&t=24)
30-
- [BD Chapters MOD](https://www.nmm-hd.org/newbbs/viewtopic.php?f=16&t=517) (no longer in use)
32+
- [BD Chapters MOD](https://www.nmm-hd.org/newbbs/viewtopic.php?f=16&t=517)
3133
- [gMKVExtractGUI](http://sourceforge.net/projects/gmkvextractgui/)
3234
- [Chapter Grabber](http://jvance.com/pages/ChapterGrabber.xhtml)
3335
- [MKVToolNix](https://www.bunkus.org/videotools/mkvtoolnix/links.html)
@@ -40,17 +42,14 @@
4042

4143
## Requirements
4244

43-
- You must have `.NET Framework 4.7` available from Windows Update.
44-
- The matroska file's support is powerd by [`MKVToolNix`](https://mkvtoolnix.download/downloads.html#windows).
45-
- The mp4 file's support is powerd by `libmp4v2`, you need get the dll before using this feature.
46-
47-
## Source Code
45+
- You must have the `.NET Framework 4.8` available from Windows Update.
46+
- The matroska file support is powered by [`MKVToolNix`](https://mkvtoolnix.download/downloads.html#windows).
47+
- The mp4 file support is powered by `libmp4v2`, you need to get the dll before using this feature.
4848

49-
- [BitBucket](https://bitbucket.org/TautCony/chaptertool)
50-
- [GitHub](https://github.com/tautcony/ChapterTool)
49+
## License
5150

52-
![](https://img.shields.io/github/downloads/tautcony/chaptertool/total.svg)
53-
![](https://img.shields.io/github/license/tautcony/chaptertool.svg)
51+
Distributed under the GPLv3+ License. See LICENSE for more information.
5452

55-
56-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftautcony%2FChapterTool.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftautcony%2FChapterTool?ref=badge_large)
53+
## Source Code
54+
- [GitHub](https://github.com/tautcony/ChapterTool)
55+
- [BitBucket](https://bitbucket.org/TautCony/chaptertool)

Time_Shift/App.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<assemblyIdentity name="Sigil" publicKeyToken="2d06c3494341c8ab" culture="neutral" />
1313
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
1414
</dependentAssembly>
15+
<dependentAssembly>
16+
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
17+
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
18+
</dependentAssembly>
1519
</assemblyBinding>
1620
</runtime>
1721
</configuration>

Time_Shift/FodyWeavers.xsd

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
1818
</xs:annotation>
1919
</xs:element>
20+
<xs:element minOccurs="0" maxOccurs="1" name="ExcludeRuntimeAssemblies" type="xs:string">
21+
<xs:annotation>
22+
<xs:documentation>A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
23+
</xs:annotation>
24+
</xs:element>
25+
<xs:element minOccurs="0" maxOccurs="1" name="IncludeRuntimeAssemblies" type="xs:string">
26+
<xs:annotation>
27+
<xs:documentation>A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
28+
</xs:annotation>
29+
</xs:element>
2030
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged32Assemblies" type="xs:string">
2131
<xs:annotation>
2232
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with line breaks.</xs:documentation>
@@ -43,6 +53,16 @@
4353
<xs:documentation>Controls if .pdbs for reference assemblies are also embedded.</xs:documentation>
4454
</xs:annotation>
4555
</xs:attribute>
56+
<xs:attribute name="IncludeRuntimeReferences" type="xs:boolean">
57+
<xs:annotation>
58+
<xs:documentation>Controls if runtime assemblies are also embedded.</xs:documentation>
59+
</xs:annotation>
60+
</xs:attribute>
61+
<xs:attribute name="UseRuntimeReferencePaths" type="xs:boolean">
62+
<xs:annotation>
63+
<xs:documentation>Controls whether the runtime assemblies are embedded with their full path or only with their assembly name.</xs:documentation>
64+
</xs:annotation>
65+
</xs:attribute>
4666
<xs:attribute name="DisableCompression" type="xs:boolean">
4767
<xs:annotation>
4868
<xs:documentation>Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.</xs:documentation>
@@ -73,6 +93,16 @@
7393
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
7494
</xs:annotation>
7595
</xs:attribute>
96+
<xs:attribute name="ExcludeRuntimeAssemblies" type="xs:string">
97+
<xs:annotation>
98+
<xs:documentation>A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
99+
</xs:annotation>
100+
</xs:attribute>
101+
<xs:attribute name="IncludeRuntimeAssemblies" type="xs:string">
102+
<xs:annotation>
103+
<xs:documentation>A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
104+
</xs:annotation>
105+
</xs:attribute>
76106
<xs:attribute name="Unmanaged32Assemblies" type="xs:string">
77107
<xs:annotation>
78108
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with |.</xs:documentation>

Time_Shift/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
3232
// 方法是按如下所示使用“*”:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("2.33.33.333")]
35-
[assembly: AssemblyFileVersion("2.33.33.333")]
34+
[assembly: AssemblyVersion("2.33.33.3331")]
35+
[assembly: AssemblyFileVersion("2.33.33.3331")]

0 commit comments

Comments
 (0)