Skip to content

Commit

Permalink
[Release 0.1.0] Update
Browse files Browse the repository at this point in the history
[Release 0.1.0] Update
  • Loading branch information
AuroraZiling authored Aug 23, 2024
2 parents ab578f9 + 16c38ec commit a060c8c
Show file tree
Hide file tree
Showing 142 changed files with 1,389 additions and 1,304 deletions.
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/bug-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ body:
options:
- label: I have looked up relevant Issue
required: false
- label: I've read [How To Ask Questions](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
Expand All @@ -24,7 +22,7 @@ body:
attributes:
label: Application version
description: Enter the version you are using
placeholder: E.g. 0.0.0.1
placeholder: E.g. 0.0.1
validations:
required: true
- type: input
Expand Down
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/bug-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ body:
options:
- label: 我查找过相关的 Issue
required: false
- label: 我阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
Expand All @@ -24,7 +22,7 @@ body:
attributes:
label: 应用版本
description: 请填写你正在使用的版本
placeholder: 如 0.0.0.1
placeholder: 如 0.0.1
validations:
required: true
- type: input
Expand Down
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/feat-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ body:
options:
- label: I have looked up relevant Issue
required: false
- label: I've read [How To Ask Questions](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
Expand All @@ -24,7 +22,7 @@ body:
attributes:
label: Application version
description: Enter the version you are using
placeholder: E.g. 0.0.0.1
placeholder: E.g. 0.0.1
validations:
required: true
- type: textarea
Expand Down
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/feat-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ body:
options:
- label: 我查找过相关的 Issue
required: false
- label: 我阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
Expand All @@ -24,7 +22,7 @@ body:
attributes:
label: 应用版本
description: 请填写你正在使用的版本
placeholder: 如 0.0.0.1
placeholder: 如 0.0.1
validations:
required: true
- type: textarea
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/auto-assign.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/build.yml

This file was deleted.

38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<br />
<div align="center">
<a href="https://github.com/AuroraZiling/PipManager">
<img src="https://raw.staticdn.net/Pip-Manager/Pip-Manager.github.io/main/docs/.vuepress/public/assets/icon.png" alt="Logo" width="80" height="80">
<a href="https://github.com/Pip-Manager/PipManager.Wpf">
<img src="https://raw.githubusercontent.com/Pip-Manager/PipManager.Wpf/main/src/PipManager/Assets/icon.png" alt="Logo" width="80" height="80">
</a>

<h3 align="center">Pip Manager</h3>
Expand All @@ -14,11 +14,11 @@
<a href="https://pipmanager.dev"><strong>Explore the docs (Chinese Simplified) »</strong></a>
<br />
<br />
<a href="https://github.com/AuroraZiling/PipManager?tab=readme-ov-file#screenshots">Screenshots</a>
<a href="https://github.com/Pip-Manager/PipManager.Wpf?tab=readme-ov-file#screenshots">Screenshots</a>
·
<a href="https://github.com/AuroraZiling/PipManager/issues">Report Bug</a>
<a href="https://github.com/Pip-Manager/PipManager.Wpf/issues">Report Bug</a>
·
<a href="https://github.com/AuroraZiling/PipManager/pulls">Request Feature</a>
<a href="https://github.com/Pip-Manager/PipManager.Wpf/pulls">Request Feature</a>
</p>
</div>

Expand All @@ -33,9 +33,7 @@

---

该项目处于早期开发阶段,存在大量Bug

The project is in an early stage of development and has a lot of bugs
该项目现已依赖[PipManager.Core](https://github.com/Pip-Manager/PipManager.Core)并逐渐迁移

---

Expand All @@ -50,7 +48,9 @@ Features:

Easier operation of Pip is the goal of Pip Manager.

### Technology Stack
### Technology

<img height="200" alt="language csharp" src="https://raw.githubusercontent.com/jonacruz89/SAWARATSUKI.ServiceLogos/main/C%23/C%23%20Purple.png"/>

Pip Manager is based on the following technology stacks:

Expand All @@ -74,7 +74,7 @@ Double click `PipManager.exe` or `PipManager_withRuntime.exe` *If you have not i

<p align="right">(<a href="#readme-top">back to top</a>)</p>

See the [Open Issues](https://github.com/AuroraZiling/PipManager/issues) for a full list of proposed features (and known issues).
See the [Open Issues](https://github.com/Pip-Manager/PipManager.Wpf/issues) for a full list of proposed features (and known issues).


## Contributing
Expand All @@ -89,16 +89,18 @@ See the [Open Issues](https://github.com/AuroraZiling/PipManager/issues) for a f

Distributed under the MIT License. See `LICENSE` for more information.

Kawaii `C#` Logo in [Technology Stack](#technology-stack) is created by [SAWATSUKI](https://github.com/SAWARATSUKI)

<p align="right">(<a href="#readme-top">back to top</a>)</p>

[github-downloads-shield]: https://img.shields.io/github/downloads/AuroraZiling/PipManager/total.svg?style=for-the-badge&color=blue
[github-downloads-url]: https://github.com/AuroraZiling/PipManager/releases
[stars-shield]: https://img.shields.io/github/stars/AuroraZiling/PipManager.svg?style=for-the-badge
[stars-url]: https://github.com/AuroraZiling/PipManager/stargazers
[issues-shield]: https://img.shields.io/github/issues/AuroraZiling/PipManager.svg?style=for-the-badge
[issues-url]: https://github.com/AuroraZiling/PipManager/issues
[license-shield]: https://img.shields.io/github/license/AuroraZiling/PipManager.svg?style=for-the-badge
[license-url]: https://github.com/AuroraZiling/PipManager/blob/master/LICENSE.txt
[github-downloads-shield]: https://img.shields.io/github/downloads/Pip-Manager/PipManager.Wpf/total.svg?style=for-the-badge&color=blue
[github-downloads-url]: https://github.com/Pip-Manager/PipManager.Wpf/releases
[stars-shield]: https://img.shields.io/github/stars/Pip-Manager/PipManager.Wpf.svg?style=for-the-badge
[stars-url]: https://github.com/Pip-Manager/PipManager.Wpf/stargazers
[issues-shield]: https://img.shields.io/github/issues/Pip-Manager/PipManager.Wpf.svg?style=for-the-badge
[issues-url]: https://github.com/Pip-Manager/PipManager.Wpf/issues
[license-shield]: https://img.shields.io/github/license/Pip-Manager/PipManager.Wpf.svg?style=for-the-badge
[license-url]: https://github.com/Pip-Manager/PipManager.Wpf/blob/master/LICENSE.txt
[screenshot]: images/screenshot.png
[.NET Core]: https://img.shields.io/badge/.NET_Core-512BD4?style=for-the-badge&logo=dotnet&logoColor=white
[.NET-url]: https://dotnet.microsoft.com/
Expand Down
6 changes: 3 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
param(
[string] $Architecture = "x64",
[string] $Version = "0.0.4.0"
[string] $Version = "0.1.0.0"
)

$ErrorActionPreference = "Stop";

Write-Output "Start building singleWithRuntime...";

dotnet publish src/PipManager/PipManager.csproj -c Release -r "win-$Architecture" -o "build/$Version/singleWithRuntime" -p:Platform=$Architecture -p:PublishReadyToRun=true -p:EnableCompressionInSingleFile=true -p:PublishSingleFile=true -p:SelfContained=true -p:AssemblyVersion=$Version -p:Configuration=Release;
dotnet publish src/PipManager.Windows.csproj -c Release -r "win-$Architecture" -o "build/$Version/singleWithRuntime" -p:Platform=$Architecture -p:PublishReadyToRun=true -p:EnableCompressionInSingleFile=true -p:PublishSingleFile=true -p:SelfContained=true -p:AssemblyVersion=$Version -p:Configuration=Release;

Rename-Item -Path "build/$Version/singleWithRuntime/PipManager.exe" -NewName "PipManager_withRuntime.exe"

Write-Output "Start building singleWithoutRuntime...";

dotnet publish src/PipManager/PipManager.csproj -c Release -r "win-$Architecture" -o "build/$Version/singleWithoutRuntime" -p:Platform=$Architecture -p:PublishReadyToRun=false -p:EnableCompressionInSingleFile=false -p:PublishSingleFile=true -p:SelfContained=false -p:AssemblyVersion=$Version -p:Configuration=Release;
dotnet publish src/PipManager.Windows.csproj -c Release -r "win-$Architecture" -o "build/$Version/singleWithoutRuntime" -p:Platform=$Architecture -p:PublishReadyToRun=false -p:EnableCompressionInSingleFile=false -p:PublishSingleFile=true -p:SelfContained=false -p:AssemblyVersion=$Version -p:Configuration=Release;

Write-Output "Build Finished";

Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions src/.gitattributes

This file was deleted.

39 changes: 19 additions & 20 deletions src/PipManager/App.xaml → src/App.xaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
<Application
x:Class="PipManager.App"
DispatcherUnhandledException="OnDispatcherUnhandledException"
Exit="OnExit"
Startup="OnStartup"
x:Class="PipManager.Windows.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:valueConverters="clr-namespace:ValueConverters;assembly=ValueConverters"
DispatcherUnhandledException="OnDispatcherUnhandledException"
Exit="OnExit"
Startup="OnStartup">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
<ResourceDictionary>
<!-- UI -->
<ResourceDictionary.MergedDictionaries>
<ui:ThemesDictionary Theme="Dark" />
<ui:ControlsDictionary />

<ResourceDictionary Source="/Resources/Animations.xaml" />
<ResourceDictionary Source="/PipManager;component/Resources/Library/LibraryStyles.xaml" />
<ResourceDictionary Source="/PipManager;component/Resources/FluentDesignComplements.xaml" />
<ResourceDictionary Source="/PipManager.Windows;component/Resources/Library/LibraryStyles.xaml" />
<ResourceDictionary Source="/PipManager.Windows;component/Resources/FluentDesignComplements.xaml" />
</ResourceDictionary.MergedDictionaries>

<!-- Mask -->
<Grid x:Key="MaskGrid">
<Grid.Background>
<SolidColorBrush Opacity="0.5" Color="Black" />
<SolidColorBrush Color="Black" Opacity="0.5" />
</Grid.Background>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
<ui:ProgressRing
Width="100"
Height="100"
IsIndeterminate="True" />
IsIndeterminate="True"
Width="100" />
<TextBlock
Margin="0,15,0,0"
FontSize="22"
HorizontalAlignment="Center"
FontSize="22" />
Margin="0,15,0,0" />
<TextBlock
Margin="0,7,0,0"
FontSize="16"
HorizontalAlignment="Center"
FontSize="16" />
Margin="0,7,0,0" />
</StackPanel>
</Grid>

<!-- Value Converters -->

<valueConverters:ValueConverterGroup x:Key="NullToVisibility">
Expand All @@ -50,21 +50,20 @@
<valueConverters:StringIsNullOrEmptyConverter />
<valueConverters:BoolToVisibilityConverter FalseValue="Collapsed" />
</valueConverters:ValueConverterGroup>
<valueConverters:BoolToVisibilityConverter x:Key="BoolToVisibility" FalseValue="Collapsed" />
<valueConverters:BoolToVisibilityConverter FalseValue="Collapsed" x:Key="BoolToVisibility" />
<valueConverters:ValueConverterGroup x:Key="InverseBoolToVisibility">
<valueConverters:InverseBoolConverter />
<valueConverters:BoolToVisibilityConverter FalseValue="Collapsed" />
</valueConverters:ValueConverterGroup>
<valueConverters:InverseBoolConverter x:Key="InverseBool" />
<valueConverters:StringIsNotNullOrEmptyConverter x:Key="StringIsNotNullOrEmpty" />
<valueConverters:StringIsNullOrEmptyConverter x:Key="StringIsNullOrEmpty" />
<valueConverters:NullToBoolConverter x:Key="NullToBool" IsInverted="True" />
<valueConverters:IntegerToBoolConverter x:Key="IntegerToBool" IsInverted="True" />
<valueConverters:NullToBoolConverter IsInverted="True" x:Key="NullToBool" />
<valueConverters:IntegerToBoolConverter IsInverted="True" x:Key="IntegerToBool" />
<valueConverters:ValueConverterGroup x:Key="IntegerToVisibility">
<valueConverters:IntegerToBoolConverter />
<valueConverters:BoolToVisibilityConverter FalseValue="Collapsed" />
</valueConverters:ValueConverterGroup>

</ResourceDictionary>
</Application.Resources>
</Application>
Loading

0 comments on commit a060c8c

Please sign in to comment.