From c2885f33fb852c68a5f8c24fdbc588b9e6e130fc Mon Sep 17 00:00:00 2001 From: ywmoyue Date: Sun, 21 Jul 2024 17:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81CI=E7=BC=96=E8=AF=91=E9=9D=9E?= =?UTF-8?q?native=E5=92=8Cnative=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 47 + src/BiliLite.UWP/BiliLite.UWP.csproj.native | 1535 +++++++++++++++++++ 2 files changed, 1582 insertions(+) create mode 100644 src/BiliLite.UWP/BiliLite.UWP.csproj.native diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87d17dd2..05bfa342 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: Solution_Path: .\BiliLite.sln AppName: BiliLite.Packages UWP_Project_Directory: src\BiliLite.Packages + UWP_Project_Path: src\BiliLite.UWP\BiliLite.UWP.csproj + UWP_X64_Native_Project_Path: src\BiliLite.UWP\BiliLite.UWP.csproj.native Win32_Project_Path: src\BiliLite.Win32Tools\BiliLite.Win32Tools.csproj GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} Webdav_addr: ${{ secrets.WEBDAV_ADDR }} @@ -140,6 +142,51 @@ jobs: asset_name: ${{env.AppName}}_${{github.event.inputs.version}}_x64.zip asset_content_type: application/zip + + + - name: Set x64 native + run: | + rm $env:UWP_Project_Path + cp $env:UWP_X64_Native_Project_Path $env:UWP_Project_Path + if: github.event.inputs.enableX64 == 'true' + + - name: Build x64 native + run: | + msbuild $env:UWP_Project_Directory /p:Platform=x64 /p:Configuration=Release /p:PackageCertificateKeyFile=$env:SigningCertificate /p:PackageCertificatePassword=$env:SigningCertificatePasswd /restore + env: + BuildMode: SideloadOnly + Configuration: Release + if: github.event.inputs.enableX64 == 'true' + + - name: copy x64 native document + run: cp C:\Package\安装教程.pdf ${{env.UWP_Project_Directory}}\AppPackages\${{env.AppName}}_${{github.event.inputs.version}}_x64_Test\安装教程.pdf + if: github.event.inputs.enableX64 == 'true' + + - name: Remove x64 native useless files + run: | + cd ${{env.UWP_Project_Directory}}\AppPackages\${{env.AppName}}_${{github.event.inputs.version}}_x64_Test + rm -r -fo *.appxsym + cd Dependencies + rm -r -fo arm,arm64,x86 + if: github.event.inputs.enableX64 == 'true' + + - name: Create x64 native archive + run: Compress-Archive -Path ${{env.UWP_Project_Directory}}\AppPackages\${{env.AppName}}_${{github.event.inputs.version}}_x64_Test -DestinationPath C:\Package\${{env.AppName}}_${{github.event.inputs.version}}_x64.zip + if: github.event.inputs.enableX64 == 'true' + + - name: Update x64 native release asset + id: upload-release-asset-x64 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} + if: github.event.inputs.enableX64 == 'true' + with: + upload_url: ${{ steps.release-drafter.outputs.upload_url }} + asset_path: C:\Package\${{env.AppName}}_${{github.event.inputs.version}}_x64.zip + asset_name: ${{env.AppName}}_${{github.event.inputs.version}}_x64.zip + asset_content_type: application/zip + + - name: Build x86 run: msbuild $env:UWP_Project_Directory /p:Platform=x86 /p:Configuration=Release /p:PackageCertificateKeyFile=$env:SigningCertificate /p:PackageCertificatePassword=$env:SigningCertificatePasswd /restore if: github.event.inputs.enableX86 == 'true' diff --git a/src/BiliLite.UWP/BiliLite.UWP.csproj.native b/src/BiliLite.UWP/BiliLite.UWP.csproj.native new file mode 100644 index 00000000..899d5004 --- /dev/null +++ b/src/BiliLite.UWP/BiliLite.UWP.csproj.native @@ -0,0 +1,1535 @@ + + + + + Debug + x86 + {8B90B3B3-844B-4610-9DCF-C9B250182AE3} + AppContainerExe + Properties + BiliLite + BiliLite + zh-cn + 8.0 + UAP + 10.0.19041.0 + 10.0.18362.0 + 14 + 512 + {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + true + True + False + SHA256 + False + False + Never + x64 + 0 + C4FA34A878A0528F84922932FEC6746BCBCA5CEA + + False + + + true + bin\x86\Debug\ + TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;X86 + ;2008 + full + x86 + false + prompt + true + + + bin\x86\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + none + x86 + false + prompt + true + true + False + false + + + true + bin\ARM\Debug\ + TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;ARM + ;2008 + full + ARM + false + prompt + true + + + bin\ARM\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + ARM + false + prompt + true + true + False + false + + + true + bin\ARM64\Debug\ + TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;ARM64 + ;2008 + full + ARM64 + false + prompt + true + true + + + bin\ARM64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + none + ARM64 + false + prompt + true + true + False + false + + + true + bin\x64\Debug\ + TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;X64 + ;2008 + full + x64 + false + prompt + true + false + + + bin\x64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + none + x64 + false + prompt + true + true + False + false + + + PackageReference + + + + AttentionButton.xaml + + + PieControl.xaml + + + + DynamicItemV2Control.xaml + + + AboutSettingsControl.xaml + + + DevSettingsControl.xaml + + + DownloadSettingsControl.xaml + + + FilterSettingsControl.xaml + + + PlayerToast.xaml + + + LiveSettingsControl.xaml + + + PlaySettingsControl.xaml + + + ProxySettingsControl.xaml + + + UISettingsControl.xaml + + + VideoDanmakuSettingsControl.xaml + + + UserFollowingTagsFlyout.xaml + + + VideoListView.xaml + + + + EditPlaySpeedMenuDialog.xaml + + + SendDynamicV2Dialog.xaml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UserDynamicPage.xaml + + + + + + + CollectedPage.xaml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DynamicSpacePage.xaml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + App.xaml + + + + + + + + + + + CommentControl.xaml + + + + + + + + + + + + + + + + CommentDialog.xaml + + + CopyOrMoveFavVideoDialog.xaml + + + CreateFavFolderDialog.xaml + + + DynamicRepostControl.xaml + + + DynamicControl.xaml + + + DynamicItemControl.xaml + + + + + ImageViewerControl.xaml + + + DownloadDialog.xaml + + + EditFavFolderDialog.xaml + + + MessageToast.xaml + + + + + + Player.xaml + + + PlayerControl.xaml + + + + + SendCommentDialog.xaml + + + SendDanmakuDialog.xaml + + + SendDynamicDialog.xaml + + + SendReviewDialog.xaml + + + + + + + + + + + + + + + LoginDialog.xaml + + + + + + + + + + + + + + + + MainPage.xaml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NoTabMainPage.xaml + + + AnimeIndexPage.xaml + + + SeasonRankPage.xaml + + + TimelinePage.xaml + + + NewPage.xaml + + + + DownloadPage.xaml + + + HomePage.xaml + + + AnimePage.xaml + + + ChannelPage.xaml + + + RegionsPage.xaml + + + DynamicPage.xaml + + + HotPage.xaml + + + LivePage.xaml + + + MoviePage.xaml + + + RecommendPage.xaml + + + LiveDetailPage.xaml + + + LiveAreaDetailPage.xaml + + + LiveAreaPage.xaml + + + LiveCenterPage.xaml + + + LiveRecommendPage.xaml + + + LocalPlayerPage.xaml + + + FindMorePage.xaml + + + ImageViewerPage.xaml + + + TopicPage.xaml + + + RankPage.xaml + + + RegionDetailPage.xaml + + + SearchPage.xaml + + + SeasonDetailPage.xaml + + + SettingPage.xaml + + + TagDetailPage.xaml + + + UserInfoPage.xaml + + + DynamicDetailPage.xaml + + + FavoriteDetailPage.xaml + + + FavoritePage.xaml + + + HistoryPage.xaml + + + WatchlaterPage.xaml + + + VideoDetailPage.xaml + + + WebPage.xaml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Designer + + + + + + + + + + + + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + + + 10.1.1 + + + 8.0.240109 + + + 1.0.2 + + + 1.0.0 + + + 5.0.0 + + + 3.2.4 + + + 3.23.4 + + + 2.55.0 + + + 1.11.46 + + + 1.3.0 + + + 2.0.15 + + + 7.0.0 + + + 7.0.1 + + + 7.0.0 + + + 7.0.1 + + + 6.2.10 + + + 6.1.1 + + + 6.1.1 + + + 6.1.1 + + + 6.1.1 + + + 6.1.1 + + + 2.8.3 + + + 13.0.1 + + + 5.2.2 + + + 4.7.5 + + + 5.3.2 + + + 2.0.3 + + + 1.0.2 + + + 4.1.0 + + + 1.4.3 + + + 107.3.0 + + + 2.0.2 + + + 1.0.7 + + + 0.17.0 + + + 0.16.8 + + + + + + + + {aee3dcaa-2c3c-4308-b602-4797994219d7} + BiliLite.gRPC + + + {809c7636-0af1-4695-9230-22f74d7b1327} + BiliLite.JSBridge + + + + + + + + + + + + + + Windows Desktop Extensions for the UWP + + + + 14.0 + + + + \ No newline at end of file