Skip to content

Commit

Permalink
WIP - rehaul codebase and graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 20, 2024
1 parent 6a5685c commit d31f565
Show file tree
Hide file tree
Showing 276 changed files with 479 additions and 6,898 deletions.
20 changes: 1 addition & 19 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,5 @@
"plugin:import/electron",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"max-len": [
"error",
{
"code": 80
}
],
},
"ignorePatterns": [
"*.test.ts"
]
"parser": "@typescript-eslint/parser"
}
31 changes: 0 additions & 31 deletions .gitattributes

This file was deleted.

12 changes: 6 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ First off, thank you for considering contributing to Comet! It’s people like y

If you encounter any bugs or issues while using Comet, please report them. This helps us to maintain the quality of the project and ensures that other users have a better experience.

1. **Search for existing issues**: Before reporting a new issue, check if someone else has already reported it. You can search [here](https://github.com/Thavarshan/comet/issues).
2. **Create a new issue**: If you don’t find a similar issue, create a new one [here](https://github.com/Thavarshan/comet/issues/new).
1. **Search for existing issues**: Before reporting a new issue, check if someone else has already reported it. You can search [here](https://github.com/stellar-comet/comet/issues).
2. **Create a new issue**: If you don’t find a similar issue, create a new one [here](https://github.com/stellar-comet/comet/issues/new).
3. **Provide details**: Please include as much information as possible. Include the steps to reproduce the issue, the expected outcome, and the actual outcome. Providing screenshots, error messages, and relevant log files can help us resolve the issue faster.

### Suggesting Features

We welcome suggestions for new features that could enhance Comet.

1. **Search for existing suggestions**: Before suggesting a new feature, check if someone else has already suggested it [here](https://github.com/Thavarshan/comet/issues).
2. **Create a new feature request**: If your feature is unique, create a new feature request [here](https://github.com/Thavarshan/comet/issues/new?template=feature_request.md).
1. **Search for existing suggestions**: Before suggesting a new feature, check if someone else has already suggested it [here](https://github.com/stellar-comet/comet/issues).
2. **Create a new feature request**: If your feature is unique, create a new feature request [here](https://github.com/stellar-comet/comet/issues/new?template=feature_request.md).
3. **Describe the feature**: Provide a detailed description of the feature, why you think it’s important, and how it could benefit users. If possible, suggest how it could be implemented.

### Contributing Code
Expand All @@ -30,7 +30,7 @@ We love contributions, whether they’re bug fixes, new features, or improving d
2. **Clone**: Clone the forked repository to your local machine.

```bash
git clone https://github.com/Thavarshan/comet.git
git clone https://github.com/stellar-comet/comet.git
cd comet
```

Expand Down Expand Up @@ -102,4 +102,4 @@ We appreciate contributions to our documentation. If you’ve added a new featur

Your contributions make Comet better for everyone. Thank you for taking the time to improve the project. We’re thrilled to have you as part of our community, and we’re excited to see what you’ll contribute.

If you have any questions, feel free to [open an issue](https://github.com/Thavarshan/comet/issues/new) or reach out to us. Happy coding!
If you have any questions, feel free to [open an issue](https://github.com/stellar-comet/comet/issues/new) or reach out to us. Happy coding!
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Help & Support
url: https://github.com/Thavarshan/comet/discussions
url: https://github.com/stellar-comet/comet/discussions
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:'
2 changes: 1 addition & 1 deletion .github/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

GitHub issue trackers are not intended to provide Sentinel help or support. Instead, use one of the following channels:

- [Github discussions](https://github.com/Thavarshan/comet/discussions)
- [Github discussions](https://github.com/stellar-comet/comet/discussions)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://thavarshan.com" target="_blank"><img src="https://github.com/Thavarshan/comet/blob/main/src/assets/images/logo.png" width="400" height="400" alt="Comet"></a></p>
<p align="center"><a href="https://thavarshan.com" target="_blank"><img src="https://github.com/stellar-comet/comet/blob/main/src/assets/images/Icon.png" width="400" height="400" alt="Comet"></a></p>

## About Comet

Expand Down Expand Up @@ -107,7 +107,7 @@ To get started with development:
1. **Clone the repository:**

```bash
git clone https://github.com/Thavarshan/comet.git
git clone https://github.com/stellar-comet/comet.git
cd comet
```

Expand Down Expand Up @@ -157,7 +157,7 @@ To get started with development:
## 🧑‍💻 Contributors

- **Jerome Thayananthajothy** - Project Lead & Developer
- [**Contributors List**](https://github.com/Thavarshan/comet/graphs/contributors) - A big thank you to all the amazing contributors!
- [**Contributors List**](https://github.com/stellar-comet/comet/graphs/contributors) - A big thank you to all the amazing contributors!

## 📄 License

Expand Down
17 changes: 0 additions & 17 deletions components.json

This file was deleted.

51 changes: 7 additions & 44 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,20 @@ import { MakerRpm } from '@electron-forge/maker-rpm';
import { VitePlugin } from '@electron-forge/plugin-vite';
import { FusesPlugin } from '@electron-forge/plugin-fuses';
import { FuseV1Options, FuseVersion } from '@electron/fuses';
import { PublisherGithub } from '@electron-forge/publisher-github';
import path from 'path';

const config: ForgeConfig = {
packagerConfig: {
asar: {
unpack: '**/node_modules/ffmpeg-static/**',
},
icon: process.platform === 'win32' ? 'src/assets/images/icon/icon.ico' : 'src/assets/images/icon/icon.icns',
executableName: 'comet',
extraResource: process.platform === 'win32'
? path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg.exe')
: path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg'),
// Bypassing signing and notarization for now
// ...(process.platform === 'darwin' && {
// osxSign: {},
// osxNotarize: {
// appleId: process.env.APPLE_ID,
// appleIdPassword: process.env.APPLE_ID_PASSWORD,
// teamId: process.env.TEAM_ID,
// },
// }),
asar: true,
},
rebuildConfig: {},
makers: [
new MakerSquirrel({
certificateFile: './cert.pfx',
certificatePassword: process.env.CERTIFICATE_PASSWORD
}),
new MakerZIP({}, ['darwin']),
new MakerRpm({}),
new MakerDeb({
options: {
icon: 'src/assets/images/icon/icon.png',
}
}),
],
makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})],
plugins: [
new VitePlugin({
// `build` can specify multiple entry builds, which can be Main process, Preload scripts, Worker process, etc.
// If you are familiar with Vite configuration, it will look really familiar.
build: [
{
// `entry` is just an alias for `build.lib.entry` in the corresponding file of `config`.
entry: 'src/main.ts',
config: 'vite.main.config.ts',
},
Expand All @@ -62,6 +35,8 @@ const config: ForgeConfig = {
},
],
}),
// Fuses are used to enable/disable various Electron functionality
// at package time, before code signing the application
new FusesPlugin({
version: FuseVersion.V1,
[FuseV1Options.RunAsNode]: false,
Expand All @@ -72,18 +47,6 @@ const config: ForgeConfig = {
[FuseV1Options.OnlyLoadAppFromAsar]: true,
}),
],
publishers: [
new PublisherGithub({
repository: {
owner: 'thavarshan',
name: 'comet',
},
generateReleaseNotes: true,
prerelease: true,
tagPrefix: 'v',
draft: true,
})
]
};

export default config;
2 changes: 1 addition & 1 deletion forge.env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ declare global {
interface Window {
electron: {
selectDirectory: () => Promise<string | undefined>;
getDownloadsPath: () => string;
getDesktopPath: () => string;
convertVideo: (filePath: string, outputFormat: string, saveDirectory: string) => Promise<string>;
on: (channel: string, callback: (event: Electron.IpcRendererEvent, ...args: unknown[]) => void) => void;
removeAllListeners: (channel: string) => void;
Expand Down
Loading

0 comments on commit d31f565

Please sign in to comment.