2
0
mirror of https://github.com/frappe/books.git synced 2024-09-19 19:19:02 +00:00

fix: update all icons, fix notarize import, update README.md

This commit is contained in:
18alantom 2021-11-23 12:56:46 +05:30
parent 50371b1a56
commit ceec97ab3a
9 changed files with 12 additions and 8 deletions

BIN
.github/logo.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ node_modules
/dist
# local env files
.env
.env.local
.env.*.local

View File

@ -1,15 +1,13 @@
<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)
![](https://img.shields.io/badge/platform-mac%2C%20windows%2C%20linux-yellowgreen)
Free Desktop book-keeping software for small-businesses and freelancers.
<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
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)
3. Install `yarn` package manager
```bash
@ -97,6 +95,11 @@ git clone https://github.com/frappe/frappejs.git
# link frappejs
cd frappejs
yarn link
```
Then in the Frappe books folder.
```bash
yarn link frappejs
```
@ -104,7 +107,7 @@ yarn link frappejs
1. Launching electron and nothing displays
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
```

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
build/icon.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -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;
if (electronPlatformName !== 'darwin') {
return;
@ -12,6 +12,6 @@ exports.default = async context => {
appBundleId: 'io.frappe.books',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_APP_PASSWORD
appleIdPassword: process.env.APPLE_APP_PASSWORD,
});
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB