fix: update all icons, fix notarize import, update README.md
BIN
.github/logo.png
vendored
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 5.0 KiB |
1
.gitignore
vendored
@ -3,6 +3,7 @@ node_modules
|
|||||||
/dist
|
/dist
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
.env.*.local
|
.env.*.local
|
||||||
|
|
||||||
|
13
README.md
@ -1,15 +1,13 @@
|
|||||||
<div align="center" markdown="1">
|
<div align="center" markdown="1">
|
||||||
|
|
||||||
![Frappe Books logo](.github/logo.png)
|
<img src=".github/logo.png" alt="Frappe Books logo" width="384"/>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.com/frappe/books.svg?branch=master)](https://travis-ci.com/frappe/books)
|
|
||||||
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/frappe/books)](https://github.com/frappe/books/releases)
|
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/frappe/books)](https://github.com/frappe/books/releases)
|
||||||
![](https://img.shields.io/badge/platform-mac%2C%20windows%2C%20linux-yellowgreen)
|
![](https://img.shields.io/badge/platform-mac%2C%20windows%2C%20linux-yellowgreen)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Free Desktop book-keeping software for small-businesses and freelancers.
|
Free Desktop book-keeping software for small-businesses and freelancers.
|
||||||
|
|
||||||
<kbd><img src=".github/frappe-books-preview.png" alt="Frappe Books Preview" /></kbd>
|
<kbd><img src=".github/frappe-books-preview.png" alt="Frappe Books Preview" /></kbd>
|
||||||
@ -63,7 +61,7 @@ database.
|
|||||||
|
|
||||||
You will also need [Xcode App](https://apps.apple.com/in/app/xcode/id497799835?mt=12) from App Store
|
You will also need [Xcode App](https://apps.apple.com/in/app/xcode/id497799835?mt=12) from App Store
|
||||||
|
|
||||||
2. Install [Node.js](https://nodejs.org/en/). Make sure you have atleast version 12 installed.
|
2. Install [Node.js](https://nodejs.org/en/). Check the `package.json` file for the node version.
|
||||||
> Tip: The best way to install and manage Node is to install [nvm](https://github.com/nvm-sh/nvm#usage)
|
> Tip: The best way to install and manage Node is to install [nvm](https://github.com/nvm-sh/nvm#usage)
|
||||||
3. Install `yarn` package manager
|
3. Install `yarn` package manager
|
||||||
```bash
|
```bash
|
||||||
@ -97,6 +95,11 @@ git clone https://github.com/frappe/frappejs.git
|
|||||||
# link frappejs
|
# link frappejs
|
||||||
cd frappejs
|
cd frappejs
|
||||||
yarn link
|
yarn link
|
||||||
|
```
|
||||||
|
|
||||||
|
Then in the Frappe books folder.
|
||||||
|
|
||||||
|
```bash
|
||||||
yarn link frappejs
|
yarn link frappejs
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -104,7 +107,7 @@ yarn link frappejs
|
|||||||
|
|
||||||
1. Launching electron and nothing displays
|
1. Launching electron and nothing displays
|
||||||
https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/24#issuecomment-770165389
|
https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/24#issuecomment-770165389
|
||||||
```
|
```bash
|
||||||
sudo chown root node_modules/electron/dist/chrome-sandbox && sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
|
sudo chown root node_modules/electron/dist/chrome-sandbox && sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
|
||||||
```
|
```
|
||||||
|
|
||||||
|
BIN
build/icon.icns
BIN
build/icon.ico
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 8.5 KiB |
BIN
build/icon.png
Executable file → Normal file
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 8.5 KiB |
@ -1,6 +1,6 @@
|
|||||||
import { notarize } from 'electron-notarize';
|
const { notarize } = require('electron-notarize');
|
||||||
|
|
||||||
exports.default = async context => {
|
exports.default = async (context) => {
|
||||||
const { electronPlatformName, appOutDir } = context;
|
const { electronPlatformName, appOutDir } = context;
|
||||||
if (electronPlatformName !== 'darwin') {
|
if (electronPlatformName !== 'darwin') {
|
||||||
return;
|
return;
|
||||||
@ -12,6 +12,6 @@ exports.default = async context => {
|
|||||||
appBundleId: 'io.frappe.books',
|
appBundleId: 'io.frappe.books',
|
||||||
appPath: `${appOutDir}/${appName}.app`,
|
appPath: `${appOutDir}/${appName}.app`,
|
||||||
appleId: process.env.APPLE_ID,
|
appleId: process.env.APPLE_ID,
|
||||||
appleIdPassword: process.env.APPLE_APP_PASSWORD
|
appleIdPassword: process.env.APPLE_APP_PASSWORD,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 9.2 KiB |