setup und demo version

This commit is contained in:
2026-11-25 10:14:33 +01:00
parent ca9bde64f7
commit 685bf4cd00
29 changed files with 383 additions and 3 deletions

View File

@@ -7,7 +7,47 @@
"PowerShell($f = \"$PWD\\\\public\\\\app.js\"; $txt = [IO.File]::ReadAllText\\($f, [Text.UTF8Encoding]::new\\($false\\)\\); $orig = [Text.Encoding]::GetEncoding\\(1252\\).GetBytes\\($txt\\); $fixed = [Text.UTF8Encoding]::new\\($false, $true\\).GetString\\($orig\\); [IO.File]::WriteAllText\\($f, $fixed, [Text.UTF8Encoding]::new\\($false\\)\\); \"mojibake left: \" + \\([regex]::Matches\\($fixed, 'Ã|Â'\\).Count\\); \"umlauts: \" + \\([regex]::Matches\\($fixed, '[äöüÄÖÜß–…→]'\\).Count\\); node --check public/app.js; if \\($?\\) { 'OK' })",
"PowerShell($c = Get-NetTCPConnection -LocalPort 4848 -State Listen -ErrorAction SilentlyContinue; foreach \\($x in $c\\) { Get-CimInstance Win32_Process -Filter \"ProcessId=$\\($x.OwningProcess\\)\" | Select-Object ProcessId, CreationDate, CommandLine, ExecutablePath | Format-List }; \\(Get-Item server.js\\).LastWriteTime; try { \\(Invoke-WebRequest -UseBasicParsing -Method Post -Uri 'http://127.0.0.1:4848/api/projects/xyz/git-init' -Headers @{Origin='http://127.0.0.1:4848'} -ContentType 'application/json' -Body '{}'\\).Content } catch { $_.Exception.Response.StatusCode; \\(New-Object IO.StreamReader\\($_.Exception.Response.GetResponseStream\\(\\)\\)\\).ReadToEnd\\(\\).Substring\\(0,120\\) })",
"Bash(node --check server.js)",
"Bash(node -e ' *)"
"Bash(node -e ' *)",
"Bash(dotnet build *)",
"PowerShell(Get-WinEvent -FilterHashtable @{LogName='Application'; StartTime=\\(Get-Date\\).AddMinutes\\(-5\\)} -ErrorAction SilentlyContinue | Where-Object { $_.ProviderName -match '.NET Runtime|Application Error' } | Select-Object -First 3 TimeCreated, ProviderName, @{n='Msg';e={$_.Message.Substring\\(0, [Math]::Min\\(700, $_.Message.Length\\)\\)}} | Format-List | Out-String)",
"Bash(node \"C:/Users/michi/AppData/Local/Temp/claude/ceece1c6836b1bae/0c1f0151-e9cb-4890-b89a-0c602c20e9a7/scratchpad/cdp.js\")",
"Bash(reg query *)",
"Bash(git push *)",
"Bash(grep -n \"^\\\\s*main\\\\b\\\\|main {\\\\|\\\\.view\\\\b\\\\|\\\\.view {\\\\|\\\\.view\\\\.active\\\\|overflow\\\\|body\\\\.simple\\\\|\\\\.board\\\\b\\\\|#board\\\\b\\\\|html, body\\\\|height: 100\" public/index.html)",
"Bash(node -p \"require\\('./package.json'\\).version + ' | ' + require\\('./package.json'\\).name\")",
"Bash(node --check public/app.js)",
"Bash(grep -nE \"'[^']*[äöüßÄÖÜ][^']*'|\\\\`[^\\\\`]*[äöüßÄÖÜ][^\\\\`]*\\\\`|\\\\\"[^\\\\\"]*[äöüßÄÖÜ][^\\\\\"]*\\\\\"\" public/app.js)",
"Bash(grep -cE \"'[A-ZÄÖÜ][a-zäöü]+|\\\\`[^\\\\`]*[A-ZÄÖÜ][a-zäöü]{3}\" public/app.js)",
"Bash(grep -nE \"initUiMode|themeSeg|setTheme|load\\\\\\(\\\\\\)|^load\\\\\\(|checkVersion\\\\\\(\\\\\\)$|DOMContentLoaded|window.addEventListener\\\\\\('load'|applyUiMode\" public/app.js)",
"Bash(node --check public/i18n.js)",
"Bash(node --check public/lang.js)",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;const en=Object.keys\\(L.en\\),de=Object.keys\\(L.de\\);console.log\\(\"en\",en.length,\"de\",de.length,\"| en\\\\\\\\de\",en.filter\\(k=>!\\(k in L.de\\)\\),\"| de\\\\\\\\en\",de.filter\\(k=>!\\(k in L.en\\)\\)\\)')",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;const en=Object.keys\\(L.en\\),de=Object.keys\\(L.de\\);console.log\\(\"en\",en.length,\"de\",de.length,\"diff\",en.filter\\(k=>!\\(k in L.de\\)\\).concat\\(de.filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"en\",Object.keys\\(L.en\\).length,\"de\",Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')",
"Bash(grep -nE \"'[^']*[äöüßÄÖÜ][^']*'|\\\\`[^\\\\`]*[äöüßÄÖÜ][^\\\\`]*\\\\`\" public/app.js)",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"en\",Object.keys\\(L.en\\).length,\"de\",Object.keys\\(L.de\\).length\\)')",
"Bash(grep -vE \"I18N\\\\.locale|localeCompare|'de'|comment|//\")",
"Bash(node -e \"try{require.resolve\\('playwright'\\);console.log\\('playwright OK'\\)}catch{console.log\\('no playwright local'\\)}\")",
"Bash(node -e \"try{require.resolve\\('puppeteer'\\);console.log\\('puppeteer OK'\\)}catch{console.log\\('no puppeteer local'\\)}\")",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://127.0.0.1:4848/)",
"Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs set-shots.json)",
"Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs variant-shots.json)",
"Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs act-shots.json)",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"parity en\",Object.keys\\(L.en\\).length,\"de\",Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')",
"Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs help-shots.json)",
"Bash(node --check lib/settings.js)",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"parity\",Object.keys\\(L.en\\).length,Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')",
"Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;const html=require\\(\"fs\"\\).readFileSync\\(\"public/index.html\",\"utf8\"\\);const keys=new Set\\(\\);for\\(const m of html.matchAll\\(/data-i18n\\(?:-html|-title|-placeholder\\)?=\"\\([^\"]+\\)\"/g\\)\\)keys.add\\(m[1]\\);const miss=[...keys].filter\\(k=>!\\(k in L.en\\)\\);console.log\\(\"parity\",Object.keys\\(L.en\\).length,Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\);console.log\\(\"html missing:\",miss\\)')",
"Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs tour-shots.json)",
"PowerShell(winget install --id JRSoftware.InnoSetup -e --silent --accept-package-agreements --accept-source-agreements --disable-interactivity 2>&1 | Select-Object -Last 6; Get-ChildItem \"C:\\\\Program Files \\(x86\\)\\\\Inno Setup 6\\\\ISCC.exe\",\"C:\\\\Program Files\\\\Inno Setup 6\\\\ISCC.exe\",\"$env:LOCALAPPDATA\\\\Programs\\\\Inno Setup 6\\\\ISCC.exe\" -ErrorAction SilentlyContinue | Select-Object FullName)",
"Bash(node -p \"require\\('./package.json'\\).version\")",
"Bash('/c/Users/michi/AppData/Local/Programs/Inno Setup 6/ISCC.exe' /Q /DAppVer=__CMDSUB_OUTPUT__ installer/ProjectDashboard.iss)",
"PowerShell($v = \\(Get-Content package.json -Raw | ConvertFrom-Json\\).version; & \"$env:LOCALAPPDATA\\\\Programs\\\\Inno Setup 6\\\\ISCC.exe\" /Q \"/DAppVer=$v\" installer\\\\ProjectDashboard.iss; \"EXIT $LASTEXITCODE\"; Get-ChildItem release | Select-Object Name, @{n='MB';e={[math]::Round\\($_.Length/1MB,1\\)}}, LastWriteTime)",
"PowerShell(Get-Process ProjectDashboard -ErrorAction SilentlyContinue | Select-Object Id, Path; \"---\"; Test-Path \"$env:LOCALAPPDATA\\\\ProjectDashboard\"; Get-ChildItem \"$env:LOCALAPPDATA\\\\ProjectDashboard\" -ErrorAction SilentlyContinue | Select-Object Name)",
"PowerShell($err = $null; [void][System.Management.Automation.Language.Parser]::ParseFile\\(\\(Resolve-Path build.ps1\\), [ref]$null, [ref]$err\\); \"parse errors: $\\($err.Count\\)\"; py -3.12 ..\\\\_Tools\\\\Itch\\\\itch_check.py docs\\\\itchio --upload release\\\\ProjectDashboard-Setup.exe --upload release\\\\ProjectDashboard.exe 2>&1 | Select-Object -Last 3; Select-String -Path .gitignore -Pattern 'release|installer')",
"Bash(curl -s -o /dev/null -w \"4848: %{http_code}\\\\n\" http://127.0.0.1:4848/)",
"Bash(DASHBOARD_DEMO=1 node -e 'const s=require\\(\"fs\"\\).readFileSync\\(\"server.js\",\"utf8\"\\); console.log\\(\"marker:\", /const BUILD_EDITION = .full./.test\\(s\\)\\); ')",
"PowerShell($err = $null; [void][System.Management.Automation.Language.Parser]::ParseFile\\(\\(Resolve-Path build.ps1\\), [ref]$null, [ref]$err\\); \"build.ps1 parse errors: $\\($err.Count\\)\"; $err | Select-Object -First 3 | ForEach-Object { $_.Message })"
],
"additionalDirectories": [
"d:\\Oculusquest\\Projekt\\ProjectDashboard"