lint config fixes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"_variables": {
|
"_variables": {
|
||||||
"lastUpdateCheck": 1764608003303
|
"lastUpdateCheck": 1765836230945
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/ts-plugin": "^1.10.4",
|
"@astrojs/ts-plugin": "^1.10.4",
|
||||||
|
"@eslint/js": "^9.39.2",
|
||||||
"@types/alpinejs__persist": "^3.13.4",
|
"@types/alpinejs__persist": "^3.13.4",
|
||||||
"bun-types": "1.3.0",
|
"bun-types": "1.3.0",
|
||||||
"eslint": "^9.39.1",
|
"eslint": "^9.39.1",
|
||||||
|
|||||||
Generated
+2642
-847
File diff suppressed because it is too large
Load Diff
@@ -51,6 +51,6 @@ The second issue, the new build of AutoDock not being able to see the user setti
|
|||||||
|
|
||||||
One huge benefit I noticed immediately was a significant reduction in bundle size. The Xcode build of AutoDock clocks in at 2 MB, which is by no means huge, but dwarfs the new build which clocks in at just 670 KB. It seems the only difference is an Assets.car file, which I assume holds images and such from the Assets.xcassets file, which in this case would just be redundant icon image files, and the app’s accent color, which I can define elsewhere.
|
One huge benefit I noticed immediately was a significant reduction in bundle size. The Xcode build of AutoDock clocks in at 2 MB, which is by no means huge, but dwarfs the new build which clocks in at just 670 KB. It seems the only difference is an Assets.car file, which I assume holds images and such from the Assets.xcassets file, which in this case would just be redundant icon image files, and the app’s accent color, which I can define elsewhere.
|
||||||
|
|
||||||
*In the [next part](/blog/2025/building-a-mac-app-without-xcode-part-2), I tackle code signing and notarization.*
|
_In the [next part](/blog/2025/building-a-mac-app-without-xcode-part-2), I tackle code signing and notarization._
|
||||||
|
|
||||||
[^1]: I have since discovered the slowness was user error, due to a setting in BBEdit that delayed completion suggestions for longer than I was used to.
|
[^1]: I have since discovered the slowness was user error, due to a setting in BBEdit that delayed completion suggestions for longer than I was used to.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ To prevent this blog post from being far too long, I’ve decided to split it up
|
|||||||
|
|
||||||
If you’re going to be distributing your app, it’s important to have it signed and notarized for the security of your app and its users. This process adds a digital certificate to your app that becomes invalidated if your app is ever modified by, for example, a malicious actor. It also can be revoked by Apple if you’re found to be distributing malware, which you, if you’re not a scumbag, won’t have to worry about. 🙂
|
If you’re going to be distributing your app, it’s important to have it signed and notarized for the security of your app and its users. This process adds a digital certificate to your app that becomes invalidated if your app is ever modified by, for example, a malicious actor. It also can be revoked by Apple if you’re found to be distributing malware, which you, if you’re not a scumbag, won’t have to worry about. 🙂
|
||||||
|
|
||||||
This, I thought, was going to be the most annoying part of working outside of Xcode. Apple does provide `codesign` and `notarytool` as part of the Xcode CLI Tools, but I just assumed using them would be a headache.
|
This, I thought, was going to be the most annoying part of working outside of Xcode. Apple does provide `codesign` and `notarytool` as part of the Xcode CLI Tools, but I just assumed using them would be a headache.
|
||||||
|
|
||||||
In order to sign an application, you need a certificate and, due to me not really knowing what I was doing, this was where I ran into trouble. I tried using my Apple Distribution certificate, which made intuitive sense to me at the time, and I didn’t run into any issues at first. I didn’t run into any errors, and verifying the signature showed everything as a-okay. So I continued...
|
In order to sign an application, you need a certificate and, due to me not really knowing what I was doing, this was where I ran into trouble. I tried using my Apple Distribution certificate, which made intuitive sense to me at the time, and I didn’t run into any issues at first. I didn’t run into any errors, and verifying the signature showed everything as a-okay. So I continued...
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ import Layout from '@layouts/Layout.astro';
|
|||||||
import BlueskyIcon from '../assets/svg/bluesky.svg';
|
import BlueskyIcon from '../assets/svg/bluesky.svg';
|
||||||
import MastodonIcon from '../assets/svg/mastodon.svg';
|
import MastodonIcon from '../assets/svg/mastodon.svg';
|
||||||
|
|
||||||
const iconSize = 16;
|
const ICON_SIZE = 16;
|
||||||
|
|
||||||
const posts = await getCollection('blog');
|
const posts = await getCollection('blog');
|
||||||
|
|
||||||
const latestPost = posts.sort(
|
const latestPost = posts.sort(
|
||||||
@@ -20,8 +21,8 @@ const latestPost = posts.sort(
|
|||||||
<Layout title="Welcome">
|
<Layout title="Welcome">
|
||||||
<Avatar size={200} />
|
<Avatar size={200} />
|
||||||
<p>
|
<p>
|
||||||
My name is <strong>Graham</strong> (he/him), a full-stack web developer, and
|
My name is <strong>Graham</strong> (he/him), a full-stack web developer, and tech
|
||||||
tech enthusiast.
|
enthusiast.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
When I'm not writing code, I'm usually enjoying one of my other hobbies;
|
When I'm not writing code, I'm usually enjoying one of my other hobbies;
|
||||||
@@ -50,12 +51,12 @@ const latestPost = posts.sort(
|
|||||||
href="https://mastodon.social/@ghalldev"
|
href="https://mastodon.social/@ghalldev"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
><MastodonIcon width={iconSize} height={iconSize} />Mastodon</a
|
><MastodonIcon width={ICON_SIZE} height={ICON_SIZE} />Mastodon</a
|
||||||
> and <a
|
> and <a
|
||||||
href="https://bsky.app/profile/ghalldev.bsky.social"
|
href="https://bsky.app/profile/ghalldev.bsky.social"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
><BlueskyIcon width={iconSize} height={iconSize} />Bluesky</a
|
><BlueskyIcon width={ICON_SIZE} height={ICON_SIZE} />Bluesky</a
|
||||||
>.
|
>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user