Fix Electron linting errors #929
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#929
Loading…
Reference in a new issue
No description provided.
Delete branch "issue/397"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request fixes #397 and:
brew update
to build script for getting latest dependencies versions.gitignore
to remove IDE specific ignores and old rules.package-json
name field to be compliant with npm and yarn rules, and adds productName to buildkeytar
withkeytar-prebuild
until https://github.com/atom/node-keytar/pull/67 is not merged. This simplifies the build process on Windows. There's no need anymore for Python and Windows building tools.How much of
build.sh
can we put intoyarn build
. I'd love to drop that script, or at least work towards dropping it.this is here because many of us use JetBrains, which creates that dir
@ -21,4 +9,1 @@
*.pyc
*.iml
.#*
i believe build/venv is still used (by build.sh)
this has to be here while upload_assets.py is still in use. if you want to rewrite that in JS instead, then we can drop python dependency completely, which would be sweet!
why did you get rid of DEPS=true?
@ -40,8 +40,12 @@ set -eu
if $LINUX; then
INSTALL="$SUDO apt-get install --no-install-recommends -y"
this only gets run if
brew
command does not exist. so it will only update when it is installed. is that what you intended?I think it's better to keep project related ignore rules into the project
.gitignore
and user-specific rules into the user's global.gitignore
.There's no need anymore for installing dependencies from the build script. The user should install the prerequisites listed in
README.md
. That is Git, Node, and Yarn. No need anymore for Python for developing.build.sh
is currently only necessary for downloading and extracting the daemon. I'm planning to try to get the daemon as apackage.json
dependency. It should be done withnode-pre-gyp
as far as I know.is the app no longer built/released by teamcity? teamcity runs build.sh
it would be much better if users ran a script to install dependencies instead of following a README. that way if the dependencies change, no one has to remember to update the README
i hope you tested this on all 3 oses, and made sure it still works with teamcity. if so, lgtm
why did this change? will this affect the .deb package that's built? if the name changes, i think ubuntu will think its a different package...
I changed the name to follow the norms. I'm not sure how exactly it'll behave in Ubuntu since I didn't test on it, but it should normally use the
productName
field declared in theelectron-builder.json
file and not thepackage.json
'sname
.I'll test it to be sure.
Debian does identify the app as a new package and doesn't replace the one with the previous name.
I think we should wait for the AppImage switch, which should come with the auto-update PR, before applying this change and then request Linux users that they uninstall their previous install.
make sure you change the app name back to lbry. otherwise lgtm.