changelog and final build

This commit is contained in:
2026-05-29 13:50:09 +08:00
parent 80f155dfe8
commit 2ca858cfa4
10 changed files with 129 additions and 77 deletions

View File

@@ -1,26 +0,0 @@
# CHANGELOG
## v0.1.2:
- Added local hosting for html files
- Created standalone version
## v0.1.3
- Updated Applovin Demo Upload
- Changed file selection workflow
- Added "Regenerate QRs" if in case they don't render
- Added "Save QR" and "Save All QRs"
## v0.1.5
- Better file selection for PLEC Uoload
- Multi file selection
- Auto detects iteration name (it tries its best)
Standalone .exe
- Move temp files into user temp folder
## v0.1.6
- Simplify UI
- Added beta tools (needs further testing)
- Playworks Converter
- Upload UnityAds HTML from Playworks to add injections for the other networks
- MRAID Checker
- Based on Official MRAID Document, scans the HTML files if they adhere to the documentation requirements and best practices

View File

@@ -2,29 +2,63 @@
Bundled VS Code extension and standalone tools for playable ad workflows. Bundled VS Code extension and standalone tools for playable ad workflows.
# CHANGELOG # Changelog
## v0.1.2:
- Added local hosting for html files
- Created standalone version
## v0.1.3 **v0.1.2**
- Updated Applovin Demo Upload ```
- Changed file selection workflow Added
- Added "Regenerate QRs" if in case they don't render - Added local hosting for HTML files.
- Added "Save QR" and "Save All QRs" - Added the standalone app.
```
## v0.1.5 **v0.1.3**
- Better file selection for PLEC Uoload ```
- Multi file selection Added
- Auto detects iteration name (it tries its best) - Added QR regeneration for AppLovin previews that fail to render.
- Added Save QR and Save All QRs actions.
Standalone .exe Changed
- Move temp files into user temp folder - Updated AppLovin Demo Upload.
- Improved the file selection workflow.
```
## v0.1.6 **v0.1.5**
- Simplify UI ```
- Added beta tools (needs further testing) Added
- Playworks Converter - Added multi-file selection for PLEC Upload.
- Upload UnityAds HTML from Playworks to add injections for the other networks - Added automatic iteration name detection.
- MRAID Checker
- Based on Official MRAID Document, scans the HTML files if they adhere to the documentation requirements and best practices Changed
- Improved PLEC Upload file selection.
- Moved standalone temporary files into the user temp folder.
```
**v0.1.6**
```
Added
- Added beta tools for further testing:
- Playworks Converter for converting Playworks UnityAds HTML into other network variants.
- MRAID Checker for scanning HTML files against MRAID requirements and best practices.
Changed
- Simplified the UI.
```
**v0.1.7**
```
Added
- Added standalone drag-and-drop file/folder selection for HTML inputs across supported tools.
- Added status throbber/progress updates for batch scans, uploads, sharing, and conversions.
- Added streamed standalone progress updates so long-running actions update the status bar before completion.
Changed
- MRAID Checker is no longer marked as beta in extension or standalone.
- Playworks Converter source selection now matches the other file-selection UIs more closely.
- Playworks Converter default output folder now resolves to the input file location's Output folder.
- Progress text now follows the format: [throbber] Verb count file.
Fixed
- Fixed standalone drag-and-drop handling for multiple files and multiple folders.
- Fixed cleanup behavior for temporary dropped files when clearing or removing rows.
- Fixed standalone PLEC Upload Open button using an incorrect/mangled URL by switching to the Windows URL protocol handler.
```

View File

@@ -114,6 +114,7 @@ if ($Standalone) {
$exeOut = Join-Path $distDir $exeName $exeOut = Join-Path $distDir $exeName
go build -ldflags="-s -w -H windowsgui -X main.AppVersion=$version" -trimpath -o $exeOut . go build -ldflags="-s -w -H windowsgui -X main.AppVersion=$version" -trimpath -o $exeOut .
if ($LASTEXITCODE -ne 0) { Write-Error "go build failed"; exit 1 } if ($LASTEXITCODE -ne 0) { Write-Error "go build failed"; exit 1 }
Copy-Item -Path (Join-Path $repoRoot "README.md") -Destination (Join-Path $distDir "README.md") -Force
$summary += [pscustomobject]@{ $summary += [pscustomobject]@{
Artifact = $exeName Artifact = $exeName

64
dist/README.md vendored Normal file
View File

@@ -0,0 +1,64 @@
# HPL Toolbox
Bundled VS Code extension and standalone tools for playable ad workflows.
# Changelog
**v0.1.2**
```
Added
- Added local hosting for HTML files.
- Added the standalone app.
```
**v0.1.3**
```
Added
- Added QR regeneration for AppLovin previews that fail to render.
- Added Save QR and Save All QRs actions.
Changed
- Updated AppLovin Demo Upload.
- Improved the file selection workflow.
```
**v0.1.5**
```
Added
- Added multi-file selection for PLEC Upload.
- Added automatic iteration name detection.
Changed
- Improved PLEC Upload file selection.
- Moved standalone temporary files into the user temp folder.
```
**v0.1.6**
```
Added
- Added beta tools for further testing:
- Playworks Converter for converting Playworks UnityAds HTML into other network variants.
- MRAID Checker for scanning HTML files against MRAID requirements and best practices.
Changed
- Simplified the UI.
```
**v0.1.7**
```
Added
- Added standalone drag-and-drop file/folder selection for HTML inputs across supported tools.
- Added status throbber/progress updates for batch scans, uploads, sharing, and conversions.
- Added streamed standalone progress updates so long-running actions update the status bar before completion.
Changed
- MRAID Checker is no longer marked as beta in extension or standalone.
- Playworks Converter source selection now matches the other file-selection UIs more closely.
- Playworks Converter default output folder now resolves to the input file location's Output folder.
- Progress text now follows the format: [throbber] Verb count file.
Fixed
- Fixed standalone drag-and-drop handling for multiple files and multiple folders.
- Fixed cleanup behavior for temporary dropped files when clearing or removing rows.
- Fixed standalone PLEC Upload Open button using an incorrect/mangled URL by switching to the Windows URL protocol handler.
```

Binary file not shown.

Binary file not shown.

View File

@@ -123,8 +123,7 @@
] ]
}, },
"scripts": { "scripts": {
"sync-readme": "node scripts/sync-readme.js", "compile": "tsc -p ./",
"compile": "npm run sync-readme && tsc -p ./",
"watch": "tsc -watch -p ./", "watch": "tsc -watch -p ./",
"vscode:prepublish": "npm run compile" "vscode:prepublish": "npm run compile"
}, },

View File

@@ -1,20 +0,0 @@
const fs = require('fs');
const path = require('path');
const root = path.resolve(__dirname, '..');
const changelogPath = path.join(root, 'CHANGELOG.md');
const readmePath = path.join(root, 'README.md');
let changelog = '# CHANGELOG\n\nNo changelog entries yet.';
if (fs.existsSync(changelogPath)) {
changelog = fs.readFileSync(changelogPath, 'utf8').trim();
}
const readme = `# HPL Toolbox
Bundled VS Code extension and standalone tools for playable ad workflows.
${changelog}
`;
fs.writeFileSync(readmePath, readme.replace(/\r?\n/g, '\n'), 'utf8');

View File

@@ -9,10 +9,10 @@ export function openChangelog(context: vscode.ExtensionContext) {
vscode.ViewColumn.One, vscode.ViewColumn.One,
{ enableScripts: false } { enableScripts: false }
); );
const changelogPath = path.join(context.extensionPath, 'CHANGELOG.md'); const readmePath = path.join(context.extensionPath, 'README.md');
let markdown = '# Changelog\n\nCHANGELOG.md was not found.'; let markdown = '# Changelog\n\nREADME.md was not found.';
try { try {
markdown = fs.readFileSync(changelogPath, 'utf8'); markdown = fs.readFileSync(readmePath, 'utf8');
} catch { } catch {
// Keep the fallback text readable in packaged or development installs. // Keep the fallback text readable in packaged or development installs.
} }

View File

@@ -13,7 +13,7 @@ func ChangelogPage(w http.ResponseWriter, r *http.Request) {
body := ` body := `
<header class="tool-header"> <header class="tool-header">
<h2 class="tool-title">Changelog</h2> <h2 class="tool-title">Changelog</h2>
<p class="tool-description">Loaded from CHANGELOG.md.</p> <p class="tool-description">Loaded from README.md.</p>
</header> </header>
<section class="tool-panel changelog-panel"> <section class="tool-panel changelog-panel">
<div class="panel-body changelog-content"> <div class="panel-body changelog-content">
@@ -42,7 +42,7 @@ func readChangelog() string {
} }
} }
} }
return "# Changelog\n\nCHANGELOG.md was not found." return "# Changelog\n\nREADME.md was not found."
} }
func changelogSearchRoots() []string { func changelogSearchRoots() []string {
@@ -58,7 +58,7 @@ func changelogCandidates(start string) []string {
candidates := []string{} candidates := []string{}
dir := filepath.Clean(start) dir := filepath.Clean(start)
for i := 0; i < 5; i++ { for i := 0; i < 5; i++ {
candidates = append(candidates, filepath.Join(dir, "CHANGELOG.md")) candidates = append(candidates, filepath.Join(dir, "README.md"))
parent := filepath.Dir(dir) parent := filepath.Dir(dir)
if parent == dir { if parent == dir {
break break