Skip to content

Commit

Permalink
Merge pull request #14 from ceddybi/app
Browse files Browse the repository at this point in the history
remove app client
  • Loading branch information
ceddybi authored Feb 16, 2024
2 parents 4d93a64 + c77f839 commit 6788399
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 2,828 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ out/
user_data/

*keys
/keys
/keys
*questions*
26 changes: 1 addition & 25 deletions forge.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import 'dotenv/config';

import { AutoUnpackNativesPlugin } from '@electron-forge/plugin-auto-unpack-natives';
import type { ForgeConfig } from '@electron-forge/shared-types';
import { MakerRpm } from '@electron-forge/maker-rpm';
import { MakerZIP } from '@electron-forge/maker-zip';
import { WebpackPlugin } from '@electron-forge/plugin-webpack';
import { mainConfig } from './webpack.main.config';
import packageJson from './package.json';
import path from 'path';
import { rendererConfig } from './webpack.renderer.config';

const config: ForgeConfig = {
// hooks: {
Expand Down Expand Up @@ -62,27 +58,7 @@ const config: ForgeConfig = {
}
}
],
plugins: [
new AutoUnpackNativesPlugin({}),
new WebpackPlugin({
mainConfig,
devContentSecurityPolicy: "default-src 'self' 'unsafe-eval' 'unsafe-inline' static: http: https: ws:",
renderer: {
config: rendererConfig,
entryPoints: [
{
html: './src/index.html',
js: './src/renderer.ts',
name: 'main_window',
preload: {
js: './src/preload.ts',
},
},
],
},
}),

],
plugins: [],
publishers: [
{
name: '@electron-forge/publisher-github',
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"name": "aij",
"productName": "AIJ",
"version": "0.1.5",
"version": "0.1.6",
"description": "AI Jobs",
"main": ".webpack/main",
"homepage": "https://algojobs.ca",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make --arch=x64 --platform",
"make:arm": "electron-forge make --arch=arm64 --platform",
"publish": "electron-forge publish --arch=x64 --platform",
"publish:arm": "electron-forge publish --arch=arm64 --platform",
"lint": "eslint --ext .ts,.tsx .",
"darwin": "yarn package && yarn make darwin && npm run publish darwin",
"darwin:arm64": "yarn package && electron-forge make --arch=arm64 --platform darwin && electron-forge publish --arch=arm64 --platform darwin",
"darwin:arm": "yarn package && yarn make:arm darwin && npm run publish:arm darwin",
"linux": "yarn package && yarn make linux && npm run publish linux",
"win": "yarn package && yarn make win32 && npm run publish win32"
},
Expand Down
58 changes: 0 additions & 58 deletions src/app/appx.tsx

This file was deleted.

52 changes: 0 additions & 52 deletions src/app/auth/index.tsx

This file was deleted.

120 changes: 0 additions & 120 deletions src/app/dashboard/applications.view.tsx

This file was deleted.

Loading

0 comments on commit 6788399

Please sign in to comment.