Skip to content

Commit 567cf37

Browse files
committed
Add Splitwriter sources
1 parent 1aac8e7 commit 567cf37

File tree

281 files changed

+101945
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+101945
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,7 @@ dist
137137
# Vite logs files
138138
vite.config.js.timestamp-*
139139
vite.config.ts.timestamp-*
140+
141+
# Tauri build outputs
142+
src-tauri/target/
143+
release/

Pack-Portable.ps1

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Pack-Portable.ps1 — Splitwriter portable packer
2+
param(
3+
[string]$Version = "0.9.0-beta.1"
4+
)
5+
6+
$Root = Get-Location
7+
$OutDir = Join-Path $Root ("release\splitwriter_v{0}_portable" -f $Version)
8+
$Zip = Join-Path $Root ("release\splitwriter_v{0}_portable_win64.zip" -f $Version)
9+
10+
# 1) 산출물 확인
11+
$ExePath = Join-Path $Root "src-tauri\target\release\Splitwriter.exe"
12+
if (!(Test-Path $ExePath)) {
13+
Write-Host "❌ 빌드 산출물이 없습니다. 먼저 'npx tauri build'를 실행하세요." -ForegroundColor Red
14+
exit 1
15+
}
16+
17+
# 2) 배포 폴더 준비
18+
New-Item -ItemType Directory -Force -Path $OutDir | Out-Null
19+
20+
# 3) 파일 복사 (exe + 필요한 dll)
21+
Copy-Item $ExePath $OutDir -Force
22+
Get-ChildItem (Join-Path $Root "src-tauri\target\release") -Filter *.dll -ErrorAction SilentlyContinue | `
23+
Copy-Item -Destination $OutDir -Force
24+
25+
# 4) runtime 폴더가 있으면 같이 포함 (오타 폴더도 케어)
26+
$runtA = Join-Path $OutDir "runtime"
27+
$runtB = Join-Path $Root "runtime"
28+
$runtTypo = Join-Path $Root "rumtime"
29+
if (Test-Path $runtB) { Copy-Item $runtB -Destination $OutDir -Recurse -Force }
30+
elseif (Test-Path $runtTypo) { Copy-Item $runtTypo -Destination $runtA -Recurse -Force }
31+
32+
# 5) README/CHANGELOG가 루트나 OutDir에 있으면 포함
33+
foreach($name in @("README_kr_en.txt","CHANGELOG.txt")) {
34+
if (Test-Path (Join-Path $Root $name)) { Copy-Item (Join-Path $Root $name) $OutDir -Force }
35+
}
36+
37+
# 6) ZIP으로 묶기(기존 파일 있으면 교체)
38+
if (Test-Path $Zip) { Remove-Item $Zip -Force }
39+
Compress-Archive -Path (Join-Path $OutDir "*") -DestinationPath $Zip -Force
40+
41+
# 7) SHA256 출력
42+
$hash = (Get-FileHash $Zip -Algorithm SHA256).Hash
43+
Write-Host "✅ Pack OK:" $Zip
44+
Write-Host "SHA256:" $hash

Run.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run tauri:dev

assets/icons/Align_Center.png

508 Bytes
Loading

assets/icons/Align_Left.png

502 Bytes
Loading

assets/icons/Align_Right.png

496 Bytes
Loading

assets/icons/Bold.png

1.08 KB
Loading

assets/icons/Curly.png

1.34 KB
Loading

assets/icons/Echo_View.png

399 Bytes
Loading

assets/icons/Folder_Close.png

544 Bytes
Loading

0 commit comments

Comments
 (0)