mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Update packages/settings-view/lib/package-card.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
This commit is contained in:
parent
7312ae4f83
commit
b79644e90b
@ -283,7 +283,7 @@ export default class PackageCard {
|
||||
loadCachedMetadata () {
|
||||
if (this.pack.repository === atom.branding.urlCoreRepo) {
|
||||
// Don't hit the web for our bundled packages. Just use the local image.
|
||||
this.refs.avatar.src = `file://${path.join(process.execPath, "..", "resources", "pulsar.png")}`;
|
||||
this.refs.avatar.src = `file://${path.join(process.resourcesPath, "pulsar.png")}`;
|
||||
} else {
|
||||
this.client.avatar(ownerFromRepository(this.pack.repository), (err, avatarPath) => {
|
||||
if (!err && avatarPath) {
|
||||
|
Loading…
Reference in New Issue
Block a user