changelog and final build
This commit is contained in:
26
CHANGELOG.md
26
CHANGELOG.md
@@ -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
|
||||
78
README.md
78
README.md
@@ -2,29 +2,63 @@
|
||||
|
||||
Bundled VS Code extension and standalone tools for playable ad workflows.
|
||||
|
||||
# CHANGELOG
|
||||
## v0.1.2:
|
||||
- Added local hosting for html files
|
||||
- Created standalone version
|
||||
# Changelog
|
||||
|
||||
## 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.2**
|
||||
```
|
||||
Added
|
||||
- Added local hosting for HTML files.
|
||||
- Added the standalone app.
|
||||
```
|
||||
|
||||
## v0.1.5
|
||||
- Better file selection for PLEC Uoload
|
||||
- Multi file selection
|
||||
- Auto detects iteration name (it tries its best)
|
||||
**v0.1.3**
|
||||
```
|
||||
Added
|
||||
- Added QR regeneration for AppLovin previews that fail to render.
|
||||
- Added Save QR and Save All QRs actions.
|
||||
|
||||
Standalone .exe
|
||||
- Move temp files into user temp folder
|
||||
Changed
|
||||
- Updated AppLovin Demo Upload.
|
||||
- Improved the file selection workflow.
|
||||
```
|
||||
|
||||
## 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
|
||||
**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.
|
||||
```
|
||||
|
||||
@@ -114,6 +114,7 @@ if ($Standalone) {
|
||||
$exeOut = Join-Path $distDir $exeName
|
||||
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 }
|
||||
Copy-Item -Path (Join-Path $repoRoot "README.md") -Destination (Join-Path $distDir "README.md") -Force
|
||||
|
||||
$summary += [pscustomobject]@{
|
||||
Artifact = $exeName
|
||||
|
||||
64
dist/README.md
vendored
Normal file
64
dist/README.md
vendored
Normal 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.
|
||||
```
|
||||
BIN
dist/hpl-toolbox-0.1.7.exe
vendored
BIN
dist/hpl-toolbox-0.1.7.exe
vendored
Binary file not shown.
BIN
dist/hpl-toolbox-0.1.7.vsix
vendored
BIN
dist/hpl-toolbox-0.1.7.vsix
vendored
Binary file not shown.
@@ -123,8 +123,7 @@
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"sync-readme": "node scripts/sync-readme.js",
|
||||
"compile": "npm run sync-readme && tsc -p ./",
|
||||
"compile": "tsc -p ./",
|
||||
"watch": "tsc -watch -p ./",
|
||||
"vscode:prepublish": "npm run compile"
|
||||
},
|
||||
|
||||
@@ -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');
|
||||
@@ -9,10 +9,10 @@ export function openChangelog(context: vscode.ExtensionContext) {
|
||||
vscode.ViewColumn.One,
|
||||
{ enableScripts: false }
|
||||
);
|
||||
const changelogPath = path.join(context.extensionPath, 'CHANGELOG.md');
|
||||
let markdown = '# Changelog\n\nCHANGELOG.md was not found.';
|
||||
const readmePath = path.join(context.extensionPath, 'README.md');
|
||||
let markdown = '# Changelog\n\nREADME.md was not found.';
|
||||
try {
|
||||
markdown = fs.readFileSync(changelogPath, 'utf8');
|
||||
markdown = fs.readFileSync(readmePath, 'utf8');
|
||||
} catch {
|
||||
// Keep the fallback text readable in packaged or development installs.
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ func ChangelogPage(w http.ResponseWriter, r *http.Request) {
|
||||
body := `
|
||||
<header class="tool-header">
|
||||
<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>
|
||||
<section class="tool-panel changelog-panel">
|
||||
<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 {
|
||||
@@ -58,7 +58,7 @@ func changelogCandidates(start string) []string {
|
||||
candidates := []string{}
|
||||
dir := filepath.Clean(start)
|
||||
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)
|
||||
if parent == dir {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user