Skip to content

Commit 22ffc50

Browse files
author
Unnnird
committed
feat: init
0 parents  commit 22ffc50

16 files changed

Lines changed: 1733 additions & 0 deletions

.github/workflows/build.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build and Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
name: Build FF14_TC_Launcher
12+
runs-on: windows-latest
13+
14+
permissions:
15+
contents: write
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: '8.0.x'
25+
26+
- name: Restore dependencies
27+
run: dotnet restore FF14_TC_Launcher.sln
28+
29+
- name: Publish Single File
30+
run: |
31+
dotnet publish FF14_TC_Launcher.csproj -c Release -r win-x64 /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true -o release
32+
33+
- name: Upload Artifact
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: FF14_TC_Launcher
37+
path: release/FF14_TC_Launcher.exe
38+
39+
- name: Create Release
40+
if: startsWith(github.ref, 'refs/tags/')
41+
uses: softprops/action-gh-release@v1
42+
with:
43+
files: release/FF14_TC_Launcher.exe
44+
name: Release ${{ github.ref_name }}
45+
draft: false
46+
prerelease: false
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bin/
2+
obj/
3+
*.user
4+
.vs/

App.xaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Application x:Class="FF14_TC_Launcher.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
StartupUri="MainWindow.xaml">
5+
<Application.Resources>
6+
7+
</Application.Resources>
8+
</Application>

FF14_TC_Launcher.csproj

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>net8.0-windows</TargetFramework>
6+
<UseWPF>true</UseWPF>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<Compile Remove="Userjoy.Ffxiv.Launcher\**" />
12+
<EmbeddedResource Remove="Userjoy.Ffxiv.Launcher\**" />
13+
<None Remove="Userjoy.Ffxiv.Launcher\**" />
14+
<Page Remove="Userjoy.Ffxiv.Launcher\**" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2739.15" />
19+
</ItemGroup>
20+
21+
<ItemGroup>
22+
<None Update="html\**\*">
23+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
24+
</None>
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<None Update="appsettings.json">
29+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
30+
</None>
31+
<EmbeddedResource Include="html\**" />
32+
</ItemGroup>
33+
34+
</Project>

FF14_TC_Launcher.sln

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FF14_TC_Launcher", "FF14_TC_Launcher.csproj", "{A248214C-3419-C941-0D26-94271FA66B4D}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{A248214C-3419-C941-0D26-94271FA66B4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{A248214C-3419-C941-0D26-94271FA66B4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{A248214C-3419-C941-0D26-94271FA66B4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{A248214C-3419-C941-0D26-94271FA66B4D}.Release|Any CPU.Build.0 = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(SolutionProperties) = preSolution
19+
HideSolutionNode = FALSE
20+
EndGlobalSection
21+
GlobalSection(ExtensibilityGlobals) = postSolution
22+
SolutionGuid = {9E50AF1C-5F40-4E2C-AC15-827E3B4003D8}
23+
EndGlobalSection
24+
EndGlobal

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Unnamed
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

MainWindow.xaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Window x:Class="FF14_TC_Launcher.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
5+
Title="FINAL FANTASY XIV Launcher"
6+
Width="1272"
7+
Height="680"
8+
ResizeMode="NoResize"
9+
WindowStartupLocation="CenterScreen">
10+
<Grid>
11+
<wv2:WebView2 x:Name="webView" />
12+
</Grid>
13+
</Window>

0 commit comments

Comments
 (0)