<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hugh &#8211; Hugh&#039;s Site</title>
	<atom:link href="https://hugh.fun/author/hugh/feed/" rel="self" type="application/rss+xml" />
	<link>https://hugh.fun</link>
	<description></description>
	<lastBuildDate>Mon, 01 Dec 2025 06:57:27 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://hugh.fun/wp-content/uploads/2025/10/cropped-Hugh-removebg-preview-32x32.png</url>
	<title>Hugh &#8211; Hugh&#039;s Site</title>
	<link>https://hugh.fun</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Build Pre-configured RustDesk Client on GitHub</title>
		<link>https://hugh.fun/build-pre-configured-rustdesk-client-on-github/</link>
					<comments>https://hugh.fun/build-pre-configured-rustdesk-client-on-github/#respond</comments>
		
		<dc:creator><![CDATA[Hugh]]></dc:creator>
		<pubDate>Mon, 01 Dec 2025 06:57:27 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Compile]]></category>
		<category><![CDATA[Github]]></category>
		<category><![CDATA[Rustdesk]]></category>
		<guid isPermaLink="false">https://hugh.fun/?p=66</guid>

					<description><![CDATA[1. Fork Repositories 2. Configure Server Details 3. Upd [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>1. Fork Repositories</strong></p>



<ul class="wp-block-list">
<li>Fork both <code><a href="https://github.com/rustdesk/rustdeskhttps://github.com/rustdesk/hbb_common">rustdesk/rustdesk</a></code> and <code>rustdesk/hbb_common</code> to your account.</li>



<li><a href="https://github.com/rustdesk/rustdeskhttps://github.com/rustdesk/hbb_common">https://github.com/rustdesk/rustdesk</a></li>



<li><a href="https://github.com/rustdesk/hbb_common">https://github.com/rustdesk/hbb_common</a><a href="https://github.com/rustdesk/rustdeskhttps://github.com/rustdesk/hbb_common"><br></a></li>
</ul>



<p><strong>2. Configure Server Details</strong></p>



<ul class="wp-block-list">
<li>Go to your forked <code>hbb_common</code> repository.</li>



<li>Edit <code>hbb_common/src/config.rs</code> and find the <code>RENDEZVOUS_SERVERS</code> constant (around line 109).</li>



<li><strong>Replace</strong> <code>rs-ny.rustdesk.com</code> with your <strong>RustDesk server address</strong>.</li>



<li><strong>Replace</strong> the default key <code>OeVu...</code> with your <strong>RustDesk public key</strong>.</li>



<li>Commit changes.</li>



<li><strong>Copy your <code>hbb_common</code> repository URL</strong> (e.g., <code>https://github.com/YourUsername/hbb_common</code>).</li>
</ul>



<p><strong>3. Update Submodule Pointer</strong></p>



<ul class="wp-block-list">
<li>Go to your forked <code>rustdesk</code> repository.</li>



<li>Edit the <code>.gitmodules</code> file (in the root directory).</li>



<li>Find <strong>line 3</strong> (<code>url = ...</code>).</li>



<li><strong>Replace</strong> the default URL with the link to <strong>your own <code>hbb_common</code> fork</strong>.</li>



<li>Commit changes.</li>
</ul>



<pre class="wp-block-code"><code>&#91;submodule "libs/hbb_common"]
	path = libs/hbb_common
	url = https://github.com/your_username/hbb_common</code></pre>



<p><strong>4. Enable Artifacts Upload</strong></p>



<ul class="wp-block-list">
<li>Edit <code>.github/workflows/flutter-ci.yml</code> (or <code>flutter-build.yml</code>).</li>



<li>Find the last line: <code>upload-artifact: false</code>.</li>



<li><strong>Change</strong> <code>false</code> to <code>true</code>.</li>



<li>Commit changes.</li>
</ul>



<pre class="wp-block-code"><code>pub fn use_ws() -> bool {
    return true;  // &lt;--- Insert this line
    let option = keys::OPTION_ALLOW_WEBSOCKET;
    option2bool(option, &amp;Config::get_option(option))
}</code></pre>



<p><strong>5. Extra Step: Force Enable WebSocket</strong></p>



<ul class="wp-block-list">
<li>Go back to <code>hbb_common/src/config.rs</code>.</li>



<li>Search for the function <code>pub fn use_ws() -> bool</code>.</li>



<li><strong>Insert</strong> <code>return true;</code> immediately above the line <code>let option = keys::OPTION_ALLOW_WEBSOCKET;</code></li>



<li>Commit changes.</li>
</ul>



<p><strong>6. Build</strong></p>



<ul class="wp-block-list">
<li>Go to the <strong>Actions</strong> tab in your <code>rustdesk</code> repository.</li>



<li>Select <strong>&#8220;Full Flutter CI&#8221;</strong> (or the corresponding build workflow).</li>



<li>Click <strong>&#8220;Run workflow&#8221;</strong>.</li>



<li>Wait about 1 hour for it to complete, then download the artifact.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://hugh.fun/build-pre-configured-rustdesk-client-on-github/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hugh&#8217;s site 1st show</title>
		<link>https://hugh.fun/hughs-site-1st-show/</link>
					<comments>https://hugh.fun/hughs-site-1st-show/#respond</comments>
		
		<dc:creator><![CDATA[Hugh]]></dc:creator>
		<pubDate>Fri, 17 Oct 2025 02:19:57 +0000</pubDate>
				<category><![CDATA[Daily]]></category>
		<category><![CDATA[life]]></category>
		<guid isPermaLink="false">https://www.hugh.fun/?p=14</guid>

					<description><![CDATA[很开心搭建自己的blog，来记录生活的点滴。 这是我的Bengal cat，刚满一岁。喵！！！]]></description>
										<content:encoded><![CDATA[
<p>很开心搭建自己的blog，来记录生活的点滴。</p>



<figure class="wp-block-image size-large is-resized"><img fetchpriority="high" decoding="async" width="768" height="1024" src="https://www.hugh.fun/wp-content/uploads/2025/10/cute-768x1024.jpg" alt="" class="wp-image-15" style="width:407px;height:auto" srcset="https://hugh.fun/wp-content/uploads/2025/10/cute-768x1024.jpg 768w, https://hugh.fun/wp-content/uploads/2025/10/cute-225x300.jpg 225w, https://hugh.fun/wp-content/uploads/2025/10/cute.jpg 1080w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>这是我的Bengal cat，刚满一岁。喵！！！</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hugh.fun/hughs-site-1st-show/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
