Skip to content

Commit

Permalink
Branding changes
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Apr 26, 2024
1 parent d63a371 commit 8fb0a01
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 36 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./client/bin/Visualiser-linux-x64.zip
asset_name: Visualiser-linux-x64.zip
asset_path: ./client/bin/Posthoc-linux-x64.zip
asset_name: Posthoc-linux-x64.zip
asset_content_type: application/zip
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./client/bin/Visualiser-win32-x64.zip
asset_name: Visualiser-win32-x64.zip
asset_path: ./client/bin/Posthoc-win32-x64.zip
asset_name: Posthoc-win32-x64.zip
asset_content_type: application/zip
- name: Upload release asset
uses: actions/upload-release-asset@v1
Expand Down
6 changes: 3 additions & 3 deletions adapter-fs-bridge/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ npx --yes resedit-cli \
--in dist/main-win.exe \
--out dist/main-win.exe \
--icon "1,icon.ico" \
--product-name "Visualiser" \
--product-name "Posthoc" \
--product-version "0.1.0.0" \
--file-version "0.1.0.0" \
--file-description "Visualiser Adapter Server"
--file-description "Posthoc Adapter"

# Sign Windows executable

Expand All @@ -53,7 +53,7 @@ if which osslsigncode >/dev/null; then
-in private/cert.pem
fi
osslsigncode sign -pkcs12 private/cert.p12 \
-n "Visualiser Adapter Server" \
-n "Posthoc Adapter" \
-i "https://github.com/path-visualiser" \
-in dist/main-win.exe \
-out dist/main-win-signed.exe
Expand Down
2 changes: 1 addition & 1 deletion adapter-fs-bridge/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const mainText = `Adapter started on ${chalk.blueBright(
`http://localhost:${port}/`
)}`;

const hintText = chalk.dim(`(Hint: Add it to Visualiser's connections list)`);
const hintText = chalk.dim(`(Hint: Add it to Posthoc's connections list)`);

const server = createAdapter(port);

Expand Down
6 changes: 3 additions & 3 deletions adapter-iron-harvest/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ npx --yes resedit-cli \
--in dist/main-win.exe \
--out dist/main-win.exe \
--icon "1,icon.ico" \
--product-name "Visualiser" \
--product-name "Posthoc" \
--product-version "0.1.0.0" \
--file-version "0.1.0.0" \
--file-description "Visualiser Adapter Server"
--file-description "Posthoc Adapter"

# Sign Windows executable

Expand All @@ -53,7 +53,7 @@ if which osslsigncode >/dev/null; then
-in private/cert.pem
fi
osslsigncode sign -pkcs12 private/cert.p12 \
-n "Visualiser Adapter Server" \
-n "Posthoc Adapter" \
-i "https://github.com/path-visualiser" \
-in dist/main-win.exe \
-out dist/main-win-signed.exe
Expand Down
2 changes: 1 addition & 1 deletion adapter-iron-harvest/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const mainText = `Adapter started on ${chalk.blueBright(
`http://localhost:${port}/`
)}`;

const hintText = chalk.dim(`(Hint: Add it to Visualiser's connections list)`);
const hintText = chalk.dim(`(Hint: Add it to Posthoc's connections list)`);

const server = createAdapter(port);

Expand Down
6 changes: 3 additions & 3 deletions adapter-warthog-websocket/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ npx --yes resedit-cli \
--in dist/main-win.exe \
--out dist/main-win.exe \
--icon "1,icon.ico" \
--product-name "Visualiser" \
--product-name "Posthoc" \
--product-version "0.1.0.0" \
--file-version "0.1.0.0" \
--file-description "Visualiser Adapter Server"
--file-description "Posthoc Adapter"

# Sign Windows executable

Expand All @@ -53,7 +53,7 @@ if which osslsigncode >/dev/null; then
-in private/cert.pem
fi
osslsigncode sign -pkcs12 private/cert.p12 \
-n "Visualiser Adapter Server" \
-n "Posthoc Adapter" \
-i "https://github.com/path-visualiser" \
-in dist/main-win.exe \
-out dist/main-win-signed.exe
Expand Down
2 changes: 1 addition & 1 deletion adapter-warthog-websocket/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const mainText = `Adapter started on ${chalk.blueBright(
`http://localhost:${port}/`
)}`;

const hintText = chalk.dim(`(Hint: Add it to Visualiser's connections list)`);
const hintText = chalk.dim(`(Hint: Add it to Posthoc's connections list)`);

const server = createAdapter(port);

Expand Down
8 changes: 4 additions & 4 deletions client/package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
npx electron-packager . Visualiser --dir dist --platform=win32 --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin
npx electron-packager . Visualiser --dir dist --platform=linux --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin
npx electron-packager . Posthoc --dir dist --platform=win32 --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin
npx electron-packager . Posthoc --dir dist --platform=linux --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin

cd bin

zip -r Visualiser-linux-x64.zip Visualiser-linux-x64
zip -r Visualiser-win32-x64.zip Visualiser-win32-x64
zip -r Posthoc-linux-x64.zip Posthoc-linux-x64
zip -r Posthoc-win32-x64.zip Posthoc-win32-x64
4 changes: 2 additions & 2 deletions client/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<meta charset="utf-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="Debugger and Visualiser for Pathfinding Algorithms" />
<meta name="description" content="Understand sequential decision-making through visualisation" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#0a0c10" />
<meta name="theme-color" content="#111317" />
<title></title>
</head>

Expand Down
12 changes: 3 additions & 9 deletions client/src/pages/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Scroll } from "components/generic/Scrollbars";
import { useViewTreeContext } from "components/inspector/ViewTree";
import { head } from "lodash";
import logo from "public/logo512.png";
import { name, version_name } from "public/manifest.json";
import { name, version_name, repository } from "public/manifest.json";
import { ReactNode } from "react";
import { PageContentProps } from "./PageMeta";

Expand Down Expand Up @@ -67,17 +67,11 @@ export function AboutContent() {
"Resources",
<>
<List sx={{ mx: -2 }}>
<ListItemButton
target="_blank"
href="https://github.com/path-visualiser"
>
<ListItemButton target="_blank" href={repository}>
<ListItemIcon>
<GitHub />
</ListItemIcon>
<ListItemText
primary="Repository"
secondary="https://github.com/path-visualiser"
/>
<ListItemText primary="Repository" secondary={repository} />
</ListItemButton>
</List>
</>
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/TreePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export function TreeGraph({
});
forEach(slice(trace?.events, 0, step + 1), ({ id, type, pId }, i) => {
const color = getColorHex(type);
const finalColor = r(color)(max([1 - (step - i) / pastSteps, 0.1])!);
const finalColor = r(color)(max([1 - (step - i) / pastSteps, 0.2])!);
if (graph.hasNode(`${id}`)) {
graph.setNodeAttribute(`${id}`, "color", finalColor);
graph.setNodeAttribute(
Expand Down
4 changes: 2 additions & 2 deletions client/src/public-dev/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Visualiser",
"name": "Visualiser",
"short_name": "Posthoc",
"name": "Posthoc",
"version": "dev",
"description": "Visualise pathfinding search and more",
"version_name": "dev",
Expand Down
4 changes: 2 additions & 2 deletions client/src/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Visualiser",
"name": "Visualiser",
"short_name": "Posthoc",
"name": "Posthoc",
"version": "1.2.1",
"description": "Visualise pathfinding search and more",
"version_name": "1.2.1; mid April 2024",
Expand Down

0 comments on commit 8fb0a01

Please sign in to comment.