12 Commits

Author SHA1 Message Date
1150675570 chore: change the coordinates 2023-12-25 17:02:08 +01:00
d6b63d86cd feat: dmg background and other tweaks 2023-12-22 17:23:12 +01:00
0bf6b64dd2 fix: ci mv command 2023-12-18 20:47:02 +01:00
c3d059c2e7 fix: not providing settings for mac 2023-12-17 01:15:26 +01:00
8937ad72c8 chore: bye icns 2023-12-17 01:07:23 +01:00
e067061273 chore: change xcode version 2023-12-17 01:02:29 +01:00
13e5ac1951 ci: add macos 2023-12-17 00:59:56 +01:00
Jacob Nguyen
81996728cd Merge pull request #7 from sern-handler/fix/locale-emojis
fix: language selector not showing emojis on windows
2023-09-17 16:39:25 -05:00
3301b99308 fix: language selector not showing emojis on windows (and probably macOS) 2023-09-17 20:44:22 +02:00
3d7161e5af chore: update electron to newer version 2023-09-17 20:03:29 +02:00
ede5e73f0b fix: another testing remnant from the past 2023-08-24 14:12:08 +02:00
cc615f91fa Merge pull request #6 from sern-handler/fix-builds
fix: build errors
2023-08-23 22:51:58 +02:00
9 changed files with 59 additions and 18 deletions

View File

@@ -19,9 +19,20 @@ jobs:
- run: yarn
- run: yarn build-electron-linux
- run: mkdir /tmp/artifacts
- run: mv -t /tmp/artifacts dist/*.snap dist/*.AppImage
- run: mv -t /tmp/artifacts dist/*.AppImage
- store_artifacts:
path: /tmp/artifacts
build_macos:
macos:
xcode: 14.2.0
steps:
- checkout
- run: yarn
- run: yarn build-electron-mac
- run: mkdir /tmp/artifacts
- run: mv dist/*.dmg /tmp/artifacts
- store_artifacts:
path: /tmp/artifacts
workflows:
build:
@@ -34,3 +45,6 @@ workflows:
- build_linux:
requires:
- hold
- build_macos:
requires:
- hold

BIN
icons/dmgbg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@@ -5,6 +5,9 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap" rel="stylesheet">
</head>
<body>
<div id="root"></div>

View File

@@ -39,7 +39,7 @@
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"electron": "^25.2.0",
"electron": "^26.2.1",
"electron-builder": "^24.4.0",
"eslint": "^8.44.0",
"eslint-plugin-react-hooks": "^4.6.0",
@@ -49,6 +49,8 @@
"vite": "^4.4.0"
},
"build": {
"appId": "dev.sern.gui",
"productName": "sern GUI",
"files": [
"./build/**/*",
"./dist/index.js"
@@ -59,6 +61,32 @@
"win": {
"icon": "./icons/icon.ico",
"publisherName": "sern"
},
"mac": {
"icon": "./icons/icon.icns",
"category": "public.app-category.developer-tools",
"target": [
"dmg",
"zip"
]
},
"dmg": {
"background": "./icons/dmgbg.png",
"icon": "./icons/icon.icns",
"title": "sern GUI",
"contents": [
{
"x": 423,
"y": 203,
"type": "link",
"path": "/Applications"
},
{
"x": 117,
"y": 203,
"type": "file"
}
]
}
}
}

View File

@@ -1,11 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');
/* @font-face {
font-family: 'Classic Console Neue';
src: local('Classic Console Neue'),
url('https://fonts.srizan.dev/clacon2.ttf') format('truetype');
} */
.titleHeader {
color: #4af626;
font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
@@ -17,6 +11,5 @@
gap: 30px;
padding: 20px;
align-items: center;
display: 'grid';
grid-template-columns: repeat(2, 1fr);
}

View File

@@ -49,7 +49,7 @@ export default function InitModal() {
const [templates, setTemplates] = React.useState<Array<TemplateList>>([]);
React.useEffect(() => {
fetch('https://raw.githubusercontent.com/sern-handler/create-bot/main/metadata/templateChoices.jso')
fetch('https://raw.githubusercontent.com/sern-handler/create-bot/main/metadata/templateChoices.json')
.then((res) => res.json())
.then((data) => {
setTemplates(data as TemplateList[]);

View File

@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');
.languageSelector {
position: absolute;
top: 15px;

View File

@@ -25,12 +25,13 @@ export default function LanguageSelector() {
height: '40px',
textAlign: 'center',
// this fixes a little text selection gap that appears in a
// few pixels outside the outer part of the selection "square"
cursor: 'pointer'
// few pixels outside the outer part of the selection outline
cursor: 'pointer',
fontFamily: 'Noto Color Emoji'
}}
>
<MenuItem value={'en'} className={'menuItems'}>🇺🇸</MenuItem>
<MenuItem value={'es'} className={'menuItems'}>🇪🇸</MenuItem>
<MenuItem value={'en'} className={'menuItems'} sx={{ fontFamily: 'Noto Color Emoji' }}>🇺🇸</MenuItem>
<MenuItem value={'es'} className={'menuItems'} sx={{ fontFamily: 'Noto Color Emoji' }}>🇪🇸</MenuItem>
</Select>
</FormControl>
</div>

View File

@@ -1814,10 +1814,10 @@ electron-publish@24.4.0:
lazy-val "^1.0.5"
mime "^2.5.2"
electron@^25.2.0:
version "25.3.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-25.3.0.tgz#e818ab3ebd3e7a45f8fca0f47e607c9af2dc92c7"
integrity sha512-cyqotxN+AroP5h2IxUsJsmehYwP5LrFAOO7O7k9tILME3Sa1/POAg3shrhx4XEnaAMyMqMLxzGvkzCVxzEErnA==
electron@^26.2.1:
version "26.2.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-26.2.1.tgz#2ef86c03d9753647622bb9a53c4213fb290e5eac"
integrity sha512-SNT24Cf/wRvfcFZQoERXjzswUlg5ouqhIuA2t9x2L7VdTn+2Jbs0QXRtOfzcnOV/raVMz3e8ICyaU2GGeciKLg==
dependencies:
"@electron/get" "^2.0.0"
"@types/node" "^18.11.18"