Skip to content

Commit 7998751

Browse files
committed
1.0.0
1 parent bcfcb78 commit 7998751

File tree

12 files changed

+1331
-0
lines changed

12 files changed

+1331
-0
lines changed

.github/workflows/buildrelease.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: dotnet package
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: "7.0.x"
18+
include-prerelease: true
19+
- name: Install dependencies
20+
run: dotnet restore .\FuzeCleaner\FuzeCleaner.sln
21+
- name: Build
22+
run: dotnet publish -p:PublishReadyToRun=true -p:PublishSingleFile=true --no-self-contained -r win-x64 -c Release .\FuzeCleaner\FuzeCleaner.sln
23+
- name: Test
24+
run: dotnet test --no-restore --verbosity normal .\FuzeCleaner\FuzeCleaner.sln
25+
- name: Upload build artifacts
26+
uses: actions/upload-artifact@v2
27+
with:
28+
name: FuzeCleaner-Release
29+
path: FuzeCleaner\bin\Release\net7.0-windows\win-x64\publish
30+
- uses: "marvinpinto/action-automatic-releases@latest"
31+
with:
32+
repo_token: "${{ secrets.RELEASE_TOKEN }}"
33+
automatic_release_tag: "latest"
34+
prerelease: true
35+
title: "最新编译版本-Github Actions云构建"
36+
files: |
37+
FuzeCleaner/bin/Release/net7.0-windows/win-x64/publish/FuzeCleaner.exe

FuzeCleaner/ApplicationEvents.vb

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Imports Microsoft.VisualBasic.ApplicationServices
2+
3+
Namespace My
4+
' The following events are available for MyApplication:
5+
' Startup: Raised when the application starts, before the startup form is created.
6+
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
7+
' UnhandledException: Raised if the application encounters an unhandled exception.
8+
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
9+
' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
10+
11+
' **NEW** ApplyApplicationDefaults: Raised when the application queries default values to be set for the application.
12+
13+
' Example:
14+
' Private Sub MyApplication_ApplyApplicationDefaults(sender As Object, e As ApplyApplicationDefaultsEventArgs) Handles Me.ApplyApplicationDefaults
15+
'
16+
' ' Setting the application-wide default Font:
17+
' e.Font = New Font(FontFamily.GenericSansSerif, 12, FontStyle.Regular)
18+
'
19+
' ' Setting the HighDpiMode for the Application:
20+
' e.HighDpiMode = HighDpiMode.PerMonitorV2
21+
'
22+
' ' If a splash dialog is used, this sets the minimum display time:
23+
' e.MinimumSplashScreenDisplayTime = 4000
24+
' End Sub
25+
26+
Partial Friend Class MyApplication
27+
28+
End Class
29+
End Namespace

FuzeCleaner/Form1.Designer.vb

Lines changed: 138 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)