mirror of
https://github.com/smyalygames/flightsim-on-linux.git
synced 2025-12-27 06:48:50 +01:00
refactor: run eslint on all files
This commit is contained in:
@@ -7,8 +7,9 @@ a personal project of mine, and I hope that if you are using these guides, you'l
|
|||||||
flight simulators without the need of being locked into Windows!
|
flight simulators without the need of being locked into Windows!
|
||||||
|
|
||||||
<Callout type="warning" emoji="⚠️">
|
<Callout type="warning" emoji="⚠️">
|
||||||
These guides do not guarantee that simulators/addons will work. There will always be a risk buying a
|
These guides do not guarantee that simulators/addons will work. There will
|
||||||
product as most developers do not support their products on Linux.
|
always be a risk buying a product as most developers do not support their
|
||||||
|
products on Linux.
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
The simulators and addons here are limited by the amount of funds I have, and as I am a university student,
|
The simulators and addons here are limited by the amount of funds I have, and as I am a university student,
|
||||||
|
|||||||
@@ -12,9 +12,11 @@ to run this game would be to buy it on
|
|||||||
Microsoft Store does not work on Linux.
|
Microsoft Store does not work on Linux.
|
||||||
|
|
||||||
<Callout type="error" emoji="⚠️">
|
<Callout type="error" emoji="⚠️">
|
||||||
Do **NOT** change Proton versions or Verify Game Integrity once you have downloaded the entire game from the simulator
|
Do **NOT** change Proton versions or Verify Game Integrity once you have
|
||||||
as this can cause you to lose everything you have downloaded/installed for the simulator! Make sure to make backups
|
downloaded the entire game from the simulator as this can cause you to lose
|
||||||
of the `compdata` for Flight Simulator if this is absolutely necessary.
|
everything you have downloaded/installed for the simulator! Make sure to make
|
||||||
|
backups of the `compdata` for Flight Simulator if this is absolutely
|
||||||
|
necessary.
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
### Configuring
|
### Configuring
|
||||||
@@ -58,8 +60,9 @@ C:\users\steamuser\AppData\Roaming\Microsoft Flight Simulator\Packages\Community
|
|||||||
### Executable Installers
|
### Executable Installers
|
||||||
|
|
||||||
<Callout type="warning" emoji="⚠️">
|
<Callout type="warning" emoji="⚠️">
|
||||||
Dealing with developer's installers is usually requires more tinkering and therefore you may need more advanced
|
Dealing with developer's installers is usually requires more tinkering and
|
||||||
knowledge on Windows and Linux (alongside the Desktop Environment you're using)!
|
therefore you may need more advanced knowledge on Windows and Linux (alongside
|
||||||
|
the Desktop Environment you're using)!
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
If you buy addons directly from a developer, it will be likely that you will be given an installer that is an
|
If you buy addons directly from a developer, it will be likely that you will be given an installer that is an
|
||||||
|
|||||||
@@ -11,8 +11,9 @@ This simulator should be able to run out of the box with minimal problems. There
|
|||||||
simulator:
|
simulator:
|
||||||
|
|
||||||
<Callout type="warning" emoji="⚠️">
|
<Callout type="warning" emoji="⚠️">
|
||||||
There is a newer version of X-Plane, X-Plane 12, keep in mind it may not be worth it to buy X-Plane 11 as it will
|
There is a newer version of X-Plane, X-Plane 12, keep in mind it may not be
|
||||||
most likely reach the end of its life with support from addon developers soon. This guide only has information for
|
worth it to buy X-Plane 11 as it will most likely reach the end of its life
|
||||||
|
with support from addon developers soon. This guide only has information for
|
||||||
X-Plane 11 as I do not have access to X-Plane 12.
|
X-Plane 11 as I do not have access to X-Plane 12.
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
@@ -30,8 +31,8 @@ The only way to install addons that will only work on the Windows version of X-P
|
|||||||
through Proton.
|
through Proton.
|
||||||
|
|
||||||
<Callout type="warning" emoji="⚠️">
|
<Callout type="warning" emoji="⚠️">
|
||||||
Using Proton will remove Vulkan support, running the game in OpenGL, which will lead to a performance loss and
|
Using Proton will remove Vulkan support, running the game in OpenGL, which
|
||||||
therefore is not recommended!
|
will lead to a performance loss and therefore is not recommended!
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
Most of these addons can be installed as usual with just a simple drag and drop into the X-Plane folder. However, some
|
Most of these addons can be installed as usual with just a simple drag and drop into the X-Plane folder. However, some
|
||||||
|
|||||||
@@ -5,12 +5,13 @@ export default {
|
|||||||
project: {
|
project: {
|
||||||
link: 'https://github.com/smyalygames/flightsim-on-linux',
|
link: 'https://github.com/smyalygames/flightsim-on-linux',
|
||||||
},
|
},
|
||||||
docsRepositoryBase: 'https://github.com/smyalygames/flightsim-on-linux/blob/main',
|
docsRepositoryBase:
|
||||||
|
'https://github.com/smyalygames/flightsim-on-linux/blob/main',
|
||||||
logo: <span>Flight Sim on Linux</span>,
|
logo: <span>Flight Sim on Linux</span>,
|
||||||
useNextSeoProps() {
|
useNextSeoProps() {
|
||||||
return {
|
return {
|
||||||
titleTemplate: '%s - Flight Sim on Linux'
|
titleTemplate: '%s - Flight Sim on Linux',
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
head: () => {
|
head: () => {
|
||||||
// TODO Figure out the reason for these ESLint errors
|
// TODO Figure out the reason for these ESLint errors
|
||||||
@@ -18,24 +19,28 @@ export default {
|
|||||||
const { asPath, defaultLocale, locale } = useRouter();
|
const { asPath, defaultLocale, locale } = useRouter();
|
||||||
// eslint-disable-next-line react-hooks/rules-of-hooks
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
||||||
const { frontMatter } = useConfig();
|
const { frontMatter } = useConfig();
|
||||||
const url = 'https://www.flightsimonlinux.com' + (defaultLocale === locale ? asPath : `/${locale}${asPath}`);
|
const url =
|
||||||
|
'https://www.flightsimonlinux.com' +
|
||||||
|
(defaultLocale === locale ? asPath : `/${locale}${asPath}`);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<meta property="og:url" content={url} />
|
<meta property="og:url" content={url} />
|
||||||
<meta property="og:title" content={frontMatter.title || 'Flight Sim on Linux'} />
|
<meta
|
||||||
|
property="og:title"
|
||||||
|
content={frontMatter.title || 'Flight Sim on Linux'}
|
||||||
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
content={frontMatter.description || 'Guides to running Flight Simulators on Linux'}
|
content={
|
||||||
|
frontMatter.description ||
|
||||||
|
'Guides to running Flight Simulators on Linux'
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
);
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
text: (
|
text: <span>© Anthony Berg {new Date().getFullYear()}</span>,
|
||||||
<span>
|
},
|
||||||
© Anthony Berg {new Date().getFullYear()}
|
};
|
||||||
</span>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user